I set Isenabled =false on a paticular condition using trigger evry thing got disabled but mouse right click is working and Getting selected,can any one let me know how to resolve this issue.
Thanks in Advance
View Complete Post
I have written some code to dynamically generate template columns for gridview which works well. However, each cell in the gridview has to be a linkbutton, which when clicked does a db update and redirects to a specific url with some parameters in it.
I have attached a click event handler to the linkbutton in the InstantiateIn method but the event does not seem to fire.
Could someone please help? the code is below -
//Dynamically creating the Grid
I have a Canvas which handles mouse click events. When the mouse is clicked it will pop up a TextBox at the position of the click. The TextBox subscribes to the LostFocus event and will make itself disappear when this event is fired.
What happens is: the user clicks, text box appears, user types, user clicks outside textbox (to finish the text entry process), the text box disappears, a new text box appears at the position of the click.
What I would like to happen: when the user clicks outside of the text box I would to suppress the click event so that the text box disappears and a new one does not appear.
VS 2005, AJAX
I use gridview and I need single and double click for each row in gridview.
When I click once on a row, some action will execute (e.g. next button should be enabled) and when I double click the row there should be redirection to another page.
I used the code below for both single and double click usage:
I have a new issue, which i want to share.
When working with ASP.NET 1.1 Framework there is an imagebutton on click of that imagebutton client side validations are fired since it is an online application form
for confirm messege .
but it is not working ... if i do the causevalidation="False" for the imagebutton it is working but the validation are bypassed.
How to achieve this please suggest
Thanks in Advance
I have set the <WorkingSetMinimum> property to 2.4GB in my reportserver 2008 config file.
By defintion, <WorkingSetMinimum> setting means,
See this link for definition:
i am facing a problem to make a button onclick to pop up a new window with pass a value. it only working on second click on onwards.
i check the checkbox from a table then pass the ID for each data to another page.
below is my coding: hope anyone can help me. this is i add in button click; the PIID is a value i want to pass
Protected Sub btn_download_in_excel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_download_in_excel.Click
Dim keyID As String = ""
Dim CheckedItems As SortedList = ViewState("CheckedItems")
Dim ChkBxIndex As String = ""
Dim strPsId As String = ""
Dim PIID As String = ""
Dim rows() As DataRow
Dim CheckedItemsKeys As ICollection = CheckedItems.Keys
Dim keys As IEnumerator = CheckedItemsKeys.GetEnumerator
If Not IsNothing(CheckedItems) Then
ChkBxIndex = keys.Current
keyID = ChkBxIndex
rows = pLookupDataSet.Tables("CCL_TB_PART").Select("PIID = " & Cmn.QStr(keyID))
If String.IsNullOrEmpty(PIID) Then
PIID = keyID
Hi all, this will sound like a simple problem but I am really stumped!
I'm trying to create a TextBlock with a style that collapses when the text is "" or null. So in the style there's a DataTrigger bound to Text using a Converter that provide a boolean test for "" or null.
The problem is that the triggers never seem to fire. Debugging the converter suggests it never gets used. The debug output also doesn't warn me of failed bindings so I have no idea what is going wrong!