Thanks in Advance
View Complete Post
I have a group of buttons and a text box which I have been using for paging. The user is able to type a number into the text box and either click the "Go" button or hit "Enter" for the paging to occur. To have the "Enter" button work I had to turn the "UseSubmitBehavior" property to false for all of the buttons except the "Go" button.
Thanks in advance for the help.
<asp:Button ID="btnFirstPage" runat="server" Text="<<" OnClick="PagerClicked" OnClientClick="return unsavedChanges();" UseSubmitBehavior="false" />
<asp:Button ID="btnPreviousPage" runat="server" Text="<" OnClick="PagerClicked" OnClientClick="return unsavedChanges();" UseSubmitBehavior="
Fortunately for developers, threading in ASP.NET is a lot easier than it was in ASP. In this article, the author takes a look at threading in the ASP.NET HTTP pipeline, and explains how threads are managed efficiently without the involvement of the developer. The article considers how the common language runtime threadpool is used by ASP.NET to service requests, looks at the pooling mechanisms used for handlers, modules, and applications, and covers both IIS 5.0 and IIS 6.0 and how they differ in their approach to request processing and thread allocation. Finally, how and when to use asynchronous handlers is discussed for developers who still need to use threads in their own applications.
MSDN Magazine June 2003
Basically i want close window in finally Block After sucessfulll Updation.
Property declaration for the control
Public Property OnSelectScript() As String
Set(ByVal value As String)
_OnSelectScript = value
Private _OnSelectScript As String
Full SUB as designed
Protected Sub Page_Load() Handles Me.Load
LabelSelectorTitle.Text = Me.Title
Any suggestions would be greatly apprciated.
The case is very simple.Before I delete the record from the gridview ,I want to call the confim windows in order to give the user the opportunity of ok oe cancel.
The first touch with it ,it happents in the following code:
public void grdomas_RowDataBound(Object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
ImageButton l = (ImageButton)e.Row.FindControl("imgdelete");
The image button is defined in the aspx as:
<asp:ImageButton ID="imgdelete" runat="server" ImageUrl="~/Images/DeleteNew.bmp" Width="20px" Height="20px" ToolTip="Delete" CommandName="Delete" CommandArgument='<%# Container.DataItemIndex + 1 %>'/>