Go to the Html Source Code and remove the SortExpression or simply set it to blank. Before <asp:BoundField DataField=”Name” HeaderText=”Name” SortExpression=”Name” temStyle-HorizontalAlign=”Center” ItemStyle-Wrap = “false”> <ItemStyle HorizontalAlign=”Center” Wrap=”False”></ItemStyle> After <asp:BoundField DataField=”Name” HeaderText=”Name” ItemStyle-HorizontalAlign=”Center” ItemStyle-Wrap = “false”> <ItemStyle … Read more
If the RequiredFieldValidator fires up unintentionally, you might not have the ‘CausesValidation=”false” ‘ on your Component. So technically if you do not want the requiredfieldvalidator to fire on click of a certain button just add … Read more
After you populate the DropDownList with your DATA just add the following: DD.Items.Insert(0, New ListItem(“”)) –> VB.NET Replace “DD” with your DropDownList Name.
The file you are trying to open, ‘[filename]’, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the … Read more
The ASP.net Internet URL Regular expression is not complete and i was surprised the other day when an application that i have written stopped working suddendly. The form would not submit because it thought that the … Read more