Hey all,
I'm trying to create Accordian Controlls Dynammically on Page Load, code wise this is what I have so far:
// Create dynamic acordian control
AjaxControlToolkit.Accordion info = new AjaxControlToolkit.Accordion();
AjaxControlToolkit.AccordionPane infoPane = new AjaxControlToolkit.Accor...
How do I display a table value in a listbox control? From this code I got the ProjectCode value from the TeamMember_table:
SqlDataAdapter adp = new SqlDataAdapter("select ProjectCode from TeamMember_table where EmpId = '" + eid + "'", conn);
I want to display this ProjectCode value in a listBox.
Platform: Visual Studio 2008, ASP.NET ...
I'm working on integrating an HTML template slice into a SiteFinity theme and am wondering if there is a way to disable the automatic inclusion of the style sheets. I would prefer to manual include them from the MasterPage, if possible?
...
Hi,
i'm trying to create a small intranet. For this I have a webserver on my local pc. The root of this website will be a dashboard and it will contain login/register functionality (default ASP.NET Membership).
http://localhost
http://localhost/Account
The rest of the intranet will consist of sub-applications like:
http://localho...
I'm using 'Amount' as a column in my datatable for my application.
I want to perform the following validations w.r.t 'Amount' which is a string variable.
1) i want to check if the amount has more than 2 digits after the decimal point
2) if the amount is positive or negative .. (as in case of negative error message needs to be flashed)...
Hi guys,
i am selecting values to my textbox from a popup window and i hav used
onfocus="this.blur();" for textbox, i want to disable this function in editbutton while i want to edit . i cant use readonly since the value is not passed to server due to postback,
pls help
...
Is it possible to develop ASP.NET MVC with MS Visual C# 2008 Express Edition and IIS?
The tutorial states that 'Visual Studio 2008 or Visual Web Developer 2008 Express' are required.
...
We are writing a proxy cache for a .NET application, and we are having problems with the ViewState MAC on the proxy. We have disabled the MAC Validation in order to get pass over this issue, but is not the best way to go (for security reasons).
Is there a way to compute the ViewState MAC on the proxy in order to pass the validation?
...
I'm using AJAX.Net (3.5) inside a usercontrol.
The usercontrol contains an UpdatePanel, and inside the UpdatePanelthere is a MultiView.
The ScriptManager is included in the page that act as container for the usercontrol.
To switch between views the usercontrol contains a simple button.
When I click it, the View is changed so the old co...
What is the roadmap for ASP.NET MVC? I would like to understand which versions I should be running and when.
I tried Scott Guthrie's website but had trouble finding mention of anything later than MIX.
...
A good detailed tutorial on the lifecycle of a page request.
I've read up on the ASP.NET page lifecycle, I am talking about things that happened before the .NET process starts to handle the request.
i.e. domain typed into browser, DNS mapping? etc.
...
I've been using a MS ReportViewer component in a website for a while now, but recently I've been getting the error shown below.
Parser Error Message: The base class
includes the field 'xyz', but its
type
(Microsoft.Reporting.WebForms.ReportViewer)
is not compatible with the type of
control
(Microsoft.Reporting.WebForms.R...
I am using the .NET framework with the System.Data.OracleClient namespace. I have the oracle 11 client installed on my computer. I do not want to use the tnsnames.ora file to store connection information.
Could someone please tell me what the connection string would look like if I did not want to use the tnsnames.ora file? I will be ...
Hi,
Last year we develop intranet web site using WAP and ASP.NET for server side, the site was already on production and was considered successful. We use low end handset which had built in Openwave version 6.
Now we update the application using XHTML-MP, because we think this will be the future mobile application technology that will ...
I'm using Visual Studio Team Foundation Server 2008 Team Suite to create a webtest for a site. On some pages the response is a file download (usually a PDF), and I just need to test that the response comes back with the right status code and content type, ignoring the body. When I run the webtest in Visual Studio, or run the compiled t...
I am getting the error: "Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the Client...
Hi,
I have Vista x64 IIS7 running on my dev. machine.
I used to use Request.ServerVariables.Get("LOCAL_ADDR") to get the operating instance IP address of the website which was resolving into like 192.168.1.89, however after switching to Vista & IIS7, I started to get ::1 which people say that it is IPv6.
How can I get it the old way?...
A.) When i use code to delete lets say Image123.jpg in folder Pics and i upload another image and rename that image also Image123.jpg and place it into folder Pics for some reason the new image get's displayed but its using the dimensions of the Image i delete. Using a Repeater over here to display the image.................
B.) When i ...
I only need to parse URL Request.Querystrings on GET, not on postback, right?
if(!IsPostBack)
{
Viewstate["magic_number"] = Parse(Request.Query);
}
The user can't be expected to modify the URL in the Request for subsequent postbacks, or can they?
Motivation for question-- I don't control the javascript snippet that does the postb...
I have a ListView control which is exhibiting an odd behaviour - rows are only partially updating after a postback. I'm hoping someone here can shed some light on why this might be occuring.
My listview DataSource is bound to a List of items which is stored in the page session state. This is intentional, partially to timeout out-of-da...