Built an application that use CSS Picture Buttons. When you click on the picture it fires an OnClick for a hidden button on the page which fires the Buton_Click event in the code behind. Built...
The CalendarExtender control works as it should with one exception. When I trigger the click event, the calendar pops up BEHIND the other page objects. Thus, portions of the calendar are obscu...
Currently I have a Web Application that contains a page in which a user will cause many Postbacks on. A majority of the Postbacks, if not all of them, will be from the user clicking a LinkBut...
Hi experts,
I tried to add request parameter to the PostBackUrl. But I get always an error. I tried following:
<asp:Button ID="Button1" runat="server" Text="neue Absenz erfassen" CssClas...
I've got an interactive form which dynamically displays per-field instructions and highlights table cells using javascript. However, when a postback occurs, none of this is saved. I'm trying...
I'm creating a small photo gallery app and I want to validate the file so that only JPEG or GIF files can be uploaded. Can you guide me to how to do this? I would like to use the CustomValid...
I have implemented manual sorting with a gridview that works great, however I cannot get paging to work the grid is always blank when I click on the second page. I am bindin the gridview to a...
I do not see the Calendar Extender events in my vb.net code behind which would allow me to code special actions against the event. I want to catch the selected date value and set it to the te...
Hi,
I have an asp.net website and I have created a default page (Default.aspx) with MasterPage. Like this i have created many pages (.aspx) with the same MasterPage.
Now i want to writ...
I've just started to look at ASP.NET 2.0 and am writing a small website using it (with C#).
One thing that I've come across which is confusing me slightly is, with 1.1 projects, I used to spe...
I need to add column to grid view at run time.
In ascx file I have
<asp:GridView ID="myGrid" runat="server">
<Columns>
</Columns>
</asp:GridView
I need to add column header an...
Is there a known bug with trying to bind checkboxes to "Y"/"N" stored in the database?
How to solve this error?
The error points to line 39 which I have indicated below.
<asp:Template...
How can I apply a css style to certain rows in a gridview?
The gridview has a date column called latest, and I am going to compare that to Now() with a helper function. If the latest date i...
I have read about using the Response.AddHeader( "name", "value" ) method to add a custom HTTP Header, but I can't get it to work!
Here's my test code that doesn't work:
// addHTTPHeader....
I've implemented a simple soap extension to intercept the servers outgoing soap message stream and replace it with my own (code below).
Everything seems to work in the code step through exc...
in asp.net c# i try to get a value from a select statement
SqlDataSource sqlDataSource = new SqlDataSource();
sqlDataSource.ConnectionString = ConfigurationManager.ConnectionStrings["Conne...
How we can hide values of variables in our querystring those are readable in the address bar? is there any way we can encrypt the url and when it is required we can de-crypt it also like yahoo...
I have a property DOB that is of type datetime
newClient.Dob
However I need to display the datetime as a date like 31/07/1955
But currently it displays 31/07/1955 00:00:00
How ca...
When I select a row from the gridview, I was hoping to get a cell value from the selected row using the following behind. But I don't see the value passed to string a. What I am missing here...
Hi!
I'm using the ListBox on my HTML-page.
<select size="4" name="DrawingsList" id="DrawingsList" style="height:100%;width:100%;" >
<option value="vvv" >TTT</option>
....
</select>
...
Hi
I need to find out how to write my connection sting in my web config file.
I use OleDb for MS Access and C#.
I have been running my application locally, so my connection string has the ...
Im using window.showModalDialog to open a popup window. In save button, I wrote code in code-behind for updating database and close that popup.
ClientScript.RegisterStartupScript(this.GetT...
Hi, when I switch on the debugger of IE7 I get the above error in ASP.Net. I'm running VS 2005.
it gets the error on this line of code:
Sys.WebForms.PageRequestManager._initialize('ctl00$Scr...
Hi
I need a textbox in a gridview control.I know how to place it.But i don't know how to bind data to it.And i also need to implement another functionality,which is on DOUBLE CLICK of tha...
I've been reading on this and can't find anything on how to enter a record using the asp.net web form. I see a few examples in C# but I don't see anything in vb. Is this possible?
I have ...