Coma getting added in a textbox, placed inside an update panel, on prefill


A comma is getting appended to a textbox (textbox needs to be inside an update panel), each time a partial refresh happens in that page.


The issue happened especially when i was populating the textbox, from the query string. Most importantly duplicate entries in the query string. 

ex: & val=rrq & id =  & nxt_Val=12

The id is repeating in the above query string. And the same value is populated in the textbox. In this case, the textbox will have the value prefilled as 123,  with a comma getting appended. This is normal and the issue is because of the duplicate id in the querystring. While prefilling the textbox with Request.QueryString[“id”] a comma gets added. Just avoid duplicate querystring keys to solve this issue.

Hope this helps.

Changing scroll bar color in Gecko Browsers

Although this is not recommended by W3C, out of popular interest, i feel like posting the solution to this problem. The problem, being the fact that IE went ahead and allowed people to customise its scrollbars, while the gecko browsers like Firefox, Opera does not allow user styles to custom browser styles. 

For IE scrollbar settings, you can use the following properties:


For Gecko-browsers, you can use the FlexiScroll. Its free for commercial use:

Hope this helps!!