Guru Sarkar's Blog
-
ASP.NET Ajax UpdateProgress stopped working with ASP.NET 4.0
Recently I updated my asp.net 2.0 website to ASP.NET 4.0. After the upgrade, ASP.NET Ajax UpdateProgess on one of my page stopped working. After some web search, I found that I need to set the ClientIDMode for my postback control.
-
jQuery UI dialog: modal overlay covering the dialog itself
I had a jquery UI dialog inside an asp.net UpdatePanel. It was working fine and I was using jquery UI’s older version. I thought upgrading all my jquery / UI references and updated to the jquery UI 1.10.3.
-
How to set SelectedValue of DropDownList in a GridView
I see many people coming across same issue of how to set the SelectedValue of a DropDownList that is inside of a GridView.
-
RadioButton OnCheckChanged not firing on first time click
Someone on a Q&A forum was having issue where he had a RadioButton inside a GridView. The RadioButton had AutoPostBack=”true” and had OnCheckChanged event setup.
-
Microsoft Ajax errors on production server
We updated our ASP.NET 2.0 website to ASP.NET 4.0. Everything was working fine locally and on our demo server. When we pushed it on production servers(web farm) the site started throwing weird errors related to Microsoft AJAX. Some errors were like:
-
Unable to open pdf in IE 10 and unable to move tabs in IE10
I was not able to open .pdf files in IE10 on Windows 7. It will just show an some image on top left corner on the page. The same worked fine on Windows 8 machine. I found the solution on stackoveflow. Here’s the three step process that fixed it.
-
Validate ASP.NET CheckBoxList which is inside a DataList Control
Recently someone was facing a problem on validating a CheckBoxList using CustomValidator control. The CheckBoxList was inside of a DataList control.
-
jQuery watermark plugin not working when postback from within an UpdatePanel
Issue: I had a textbox with jquery watermark applied inside of an asp.net UpdatePanel. When I postback without entering anything in the textbox and grab the Text1.Text in the postback, the value showed the watermark text. Ideally it should be empty text as I did not enter anything in the textbox.
-
Visual Studio Web Developer Express starting two instances of Internet Explorer and throwing an error
I installed Visual Studio Web Developer Express 2012 a while ago. I think during the same timeframe I also upgraded my Internet Explorer 9 to IE10. Now whenever I debug a project two instances of IE would start up. I did some search but couldn’t make it work. So I made Firefox as my “Default Brower” for Visual Studio.
-
Page crashes when binding to Gridview
On a certain forum, I read somebody was having an issue with their GridView. He had a page with certain inputs to filter data. Upon submitting the form would fetch data from the database and bind it to a GridView.