Archive

Archive for the ‘ASP.NET’ Category

Merry Christmas and Happy New Year !!!

December 25th, 2009 Kulrom No comments

Happy Hollidays

Happy Hollidays

May this Christmas be bright and cheerful and may the New Year begin on a prosperous note! To all ASP.NET developers and their families! Cheers!!! :)

Categories: ASP.NET Tags:

ASP.NET Exception – Invalid postback or callback argument

September 27th, 2009 Kulrom 1 comment

Invalid postback or callback argument

Invalid postback or callback argument

I’ve read many different suggestions for the Invalid postback or callback argument exception but, most of them do not work.
Some people will suggest to add your code inside If Not Page.IsPostBack Then block, other will tell you to set EnableEventValidation to false which is not serious at all. Even the compiler suggests ClientScriptManager.RegisterForEventValidation method but in most of the situations these will not work.

One is for certain: This specific exception is mostly thrown when you use a Master page!!!

Add the same javascript attributes to the very same server control out of the master page and you’ll see that it is working just fine.
Read more…

Categories: ASP.NET, Security Tags:

Bind DataList to DataView Without Using Database

September 16th, 2009 Kulrom No comments

Bind Datalist without DB

Bind Datalist without DB

This is going to be pretty easy so i will not bother you explaining things.
Just Download the Code Sample (sample images included) and you will figure out the rest of it, analyzing the code.
Generally speaking, it gets all *.jpg images from the given folder and display in the DataList control.


Live Example For Binding DataList Without Database (List of Images)

The Source Code Can be Downloaded From Here

Categories: ASP.NET Tags: