asp.net

Single Sign On.

Do we need to use out proc sessions while implementing SSO?What will be the limitation of inproc? which is best way of implementing SSO across domain? ...

indexOutofRangeException occurred

Hello, I am getting 'indexOutofRangeException occurred' error - 'FixedActual' this is the code i am using any help would be appropriated. SqlDataReader dataReader = null; SqlCommand Scmd = new SqlCommand("SalesGetRecalcOrderItemCosts", this._connection); Scmd.CommandType = System.Data.CommandType.StoredProcedure; Scmd.Transaction = cu...

Event wont fire in custom control

hi, I am trying to create a simple custom control where in there is a image button on the control along with a label. the problem that i am facing is that the image button appears just fine along with the specified properties. But somehow when i click on the image button it does not generate the click event. the page simply refreshes. ...

Update panel in different places.

My update panel must update some panel out of content of this panel, for example I've got <update panel> some staff </update panel> <div> No need to update staff Need to update staff </div> How can I update "Need to update staff" when updating "some staff" in my update panel ? ...

Problems of IE when using Jquery

I am acessing the sibling of a checkbox using parentNode.nextElementSibling.value;It will returns value and works fine in Firefox.But in IE it is saying Object is null and saying Microsoft JScript runtime error: 'parentNode.nextElementSibling.value' is null or not an object My function is as follows function chkEnergy() { ...

asp.net autocomplete problem

i added autocomplete extender its working fine but the suggestion list half bottom is not showing because its exceed the length of the div containing textbox thank you, ...

How to insert null into database ?

Hi I am trying to insert null in a database column depending on a gridview datakeys value (if being "" insert null into database) However, I am getting a space ' ' inside the database column. string sbcId = gvTest.DataKeys[gr.RowIndex]["myColumn"].ToString(); insgnp.Parameters.Add(new OleDbParameter("EMPID", (sbcId==""?DBNull.Value.ToS...

Adding Link Button to footer of GridView in ASP.NET

How do I do this? Basically, next to the page numbers in the GridView I want a link button to disable paging. This works, but I want the button inside the footer of the GridView, next to the page numbers. How do I do this? ...

Dropdown list not bound in dim background

Hi all.. In my web page I show loading image with dim background. Dropdown list is not bound inside the dim background .In IE only I experience this problem..How to fix it.. ...

ASP.NET Html table performance on rendering

Hi guys, i need to create an html report where i've to put a table into. This table is composed by 265 rows and a variable column number (between 1 and 150+). Problems start when i try to render a report with 20+ columns: data fetching from db is fast, but rendering the result in the html table is very slow! I create the report in the ...

LinkButton in GridView

Dear All, I have a problem and not getting why is it so. I have a grid view and it contains some 10,000 rows without any pagination. For each Row I have a Edit LinkButton n the TemplateField. On the click of this edit LB the control should go to some Edit Page. The problem here is that after clicking on the LB the page is taking lots of...

email id validation in asp.net?

Hi, In my web application i have a textbox with multiline property is true, when ever i type emailids separating with comma how can i validate multiple emailid in this situation. like: [email protected],[email protected] in a textbox how can i validate please help me ...

GridView - display '0' for all headers when empty data set

Hi, I'm using a GridView to display some ifnromation in ASP.NET. I need it to simply display 0 in the gridview fields (there's only ever one row returned) if the dataset is empty, plus of course display the headers. How do I do this? ...

Data Displayed Twice In Gridview (ASP.NET)

Hi, I'm trying to make a page where information from the database are displayed on a page. For this, I'm using a Gridview control. The data displays fine, but it displays the same information twice. So basically, two tables are drawn by ASP and placed side by side. Heres the code I'm using: <asp:GridView ID="PackagesGV" runat="server"...

How to change Image inside of CSS of a usercontrol

there's a label control on my master page..if its value is "Value1" ,I want this CSS Sprite to display on my webform..if the Value is "Value2"..the CSS sprite should use some different image..just the image needs to be changed ..nothing else in that Sprite.. I found out that I can use "FindControl" method to find out what value that Lab...

Dropdownlist not bound in dim background

In my web page I show loading image with dim background. Dropdown list is not bound inside the dim background .In IE only I experience this problem..How to fix it.. ...

Expression Encoder 4 assembly within ASP.NET, IIS7.5 and VS2010

Hello Stack Overflow Community, We have a problem whilst trying to implement an expression encoder assembly into our project and running it through IIS 7.5. We are using VS2010 and .NET4. We have ensured the project is targetting x86 cpu type and when running our application within the VS development server everything is fine. When we...

How to keep the state of dynamic controls in ASP.NET?

I am creating some dynamic textboxes through javascript, when postback is happening i am loosing the controls. I can't use Ajax instead of postback and i can't create dynamic controls from code behind. Can anyone please give any suggestion about it? ...

Flash not working in update panel

Flash not working in update panel after clicking any server control like button..Please help to fix the issue.. ...

Display Bing map by specifying an address in an ASP.NET website

How to display Bing map dynamically in an ASP.NET website based on the address provided. I do not have latitude and longitude for the address so I have to pass address directly and display the map. ...