Recently I posted a answer to a question that I thought was quite an easy one, The question was about issues with the lifecyle of the page in asp.net where items would only reflect the changes made after the first postback, so I suggested using
Response.Redirect(Request.RawUrl)
And almost instantly got voted down for this as (Why cau...
What reporting asp.net library would you recommend if you would like to do the following:
Generate reports
Print reports
...
Is there a short way to make a FooterTemplate (in a GridView) always visible, even when DataSource is empty?
...
I've got a project using DynamicData that was wrote by somebody else. Every time i try debbuging it, I get the message I've attached at the bottom
I've already tried deploying the DynamicData dll to GAC, and throwing it into the bin folder, chceking the assemblies full names, installing again VS SP1, and .NET Framework SP1, and chceking...
I am using listview to display a list of items and a nested listview to show list of features to each item. Both parent and child listview need to able Insert,Edit and delete operation. It works fine for parent listview. But when I try to edit an child item, The edit button does not take it into Edit mode. Can you please suggest me what ...
In my ASP.NET MVC application, I manage localized texts in .resx files located in App_GlobalResources folder. I am able to retrieve any text value in any file knowing its key.
Now, I want to retrieve all key/value pairs in a particular resource file in order to write the result to some JavaScript. A search revealed that I might be a...
I'd like to add nunit testing to a VS2005 C# ASP.NET website project - so that I can excercise methods in the App_Code directory.
It's recommended that the tests are added as a seperate assembly so that the testing code does not get delivered with the website - in this lies my question:
When I add a new project into the solution which h...
I am creating a dynamic link during page_init even and binding onclick to a link button.On click of dynamic link is able post back but it is not raising a onclick eveent (hitting a on click event in debug mode). Page postback and shows up a blank page without triggering a event.Plese can anyone tell what i am doing wrong in the following...
What is the best way to call a secured ASP.NET web service from PHP?
...
I came accross an issue a few days ago which I'd completely forgotten about, and noticed it wasn't mentioned on SO.
In an ASP.Net document, a datagrid was created dynamically as part of a business intellgience tool. The data format string was being set in the code behind, but was not being shown correctly on the rendered page.
As it t...
Hello all,
I had a project for developing a website for a NGO.
I had a doubt:
The website is already working with lot of flaws and had very few pages.
This website is made in Php and They want me to make it more secure.
So i want to make this website using Microsoft .NET Framework.
If i make this website from scratch and then...
I am getting this error while clicking on the button control of an asp.net page .NO idea what to do
Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback even...
I have a ASP.NET web service. This web service works fine. However, the WSDL lists some parameters as optional (minoccurs = 0) and others as non-optional. Some of the optional parameters are actually not optional, others which are marked as non-optional are actually optional. I would like to fix this, but I can't find the location where ...
Hi,
I am using the AJAX autocomplete add-on to the control. I have everything working with a around the .
I set the following CSS class:
.autocomplete_CompletionListElement
{
margin: 0px;
background-color: White;
cursor: default;
overflow-y: auto;
overflow-x: hidden;
height:180px;
text-align: left;
bo...
Hello I have a page in an ASP.NET (website) project that writes a file to the App_Data folder.
When I request the page from my browser everything works.
When I perform this request from a cron-job scheduled job from my provider I get the following error
Could not find a part of the path 'C:\xxxxxxxxxxxxxxx\App_Data\Art_P00004.txt'.
a...
In my application I have different roles and offcourse multiple pages. How do I secure webpages that may not be accessed by certain roles?
Imagine group 1 has access to webpage a.aspx, b.aspx and c.aspx but not to webpage d.aspx. How do i secure that when a user of group 1 types in d.aspx he cannot view the page?
...
I am using same asp.net page to edit and add data, only with some fields disabled and enabled accordingly. Now when I call webmethod from the add page, it's working fine, but when I call it from edit page, it is not. Though I am using the same javascript function to call the server side method. Please see the code:
.aspx:
function KeyCh...
I am using SubSonic in my project. I need to selected rows filtered by some condition. I'm trying to use SqlQuery as follows:
SqlQuery q = new Select()
.From("TableName")
.Where(MyDALObject.Columns.Status)
.NotIn(new[] { 1, 8, 9, 22, 23});
IList<MyDALObject> list =
...
in my asp.net page, The asp.net button click is not getting fired in IE,But in mozilla its working fine. Any thoughts ?
...
Hi,
I have a strange problem. While populating formfields, the values are maintained when clicking a'submit' button that causes the page to proceed to the next stage. I try to populate a hidden field from the code behind on the event of a 'find 'button click (before clicking this 'submit' button and this works. But the value is not mai...