ASP.NET AJAX Forum Posts

February 2009 - Posts

Ajax and Data Help needed
I need a bit of help setting up an upload page. On my upload page I request information about the author (name, email, Site, Site URL). Now what I would like to do is when the author inputs his email address I need to check the database to see if the author exists or not. If the author doesnt exist, nothing happens and the user can enter data and information is stored about the author in author table in the database and information about the file is stored in file table. But if the author exists the other fields are automatically filled in according to his previous data and the text boxes are locked so they cant change the text for his name, site and site url. He proceeds to enter the upload information and the authorID is added to the file...
update panel to update datasource and gridview
I'm using a update panel that contains a textbox, a gridview and a data source. I've put some code in the page load so that when the user enters text into the textbox it changes select command for the datasource so that the select command has a WHERE in it and then changes select command back when there is no text in the text box. It updates the datasource but it doesnt refresh the gridview. It only refreshes the gridview when i click on edit or cancel Any Ideas on how to make the grid view update? Read More...
Problem with AJAX UpdatePanel and window.open
Hi all, I am using the AJAX extension toolkit with ASP.NET 2.0 and in one of my pages I have a button which performs some server side logic and then opens a new window which loads a report from a reporting service server. The problem I am having is that the first time you click the button everything is fine - the new window is opened up and the report is loaded fine. If you close the window and click the button again or click any other control on the web form, even if u reload the page, or try and go to a different page, it gives a nasty javascript error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response...
Add Paremeters to the Post request
Hello, Is it possible to add parameters to the post request before it is sent? I would like to pass several parameters to the page along with the request. I know that I can put a whole bunch of hidded fields on the page and then access them in the code behind when the request is made, but I would think that there is a better way. Any info is greatly appreciated. -Drew Read More...
LinkButtons inside updatepanel doesn't fire
Hi, In my web application, when I click on a button, asp table1 in the updatepanel is filled, and because I want to have pages I also have another asp table2 with LinkButtons that are generated dynamic, depending of the button click. These two tables are both in the update panel, and when I click on one of the link buttons, I need table1 to be filled again, but nothing happens, just like the click event for the link button to do not exists??? Please, if someone can help me with this??? Read More...
Make a Dynamic TabContainer (AJAX Control)
I have a requirement in my project where I want to use the TabConrol but I want to make the tabcontrol dynamic so that the number of tabs can be added or deleted at runtime. I have used the AJAX TabContainer for the same purpose . Also, after the tab is added how to go to a certain tab and make its child controls hidden/visible through javascript. Did a lot of r & d but couldnt find the solution. if anybody has worked on tabcontainer Please help ! Read More...
expandable gridview
dear; could you help in my issue... i need user control( has assume 2 text box) nested in a gridview... gridview has suppose 3 fields the first field is linkbutton or image.. and the 2nd and 3rd fields( if we say the 2 nd field is id_no) are from fetched from the database when the linlbutton clicked panel will expand and show user control with the 2 text box filles from the database according to the 2nd(id_no) of the corresponding clicked row( record) dear you can refer the same skeleton in the following link but the example in the link is made using object datasource not sqldatasource... http://www.codeproject.com/KB/ajax/ExpandPanelGridView.aspx i have tried but i am getting error in the user control as not known element when i have placed...
Update panel blocking...
Hi, i am using an UpdatePanel in one my pages to make calls to a WFC web service. There are times when this webservice may take a long time. When that happens, i noticed that i am not able to move to any other pages. the page itselve isn't locked or anything (i.e. i can still edit fields on that page), but can not change pages (i.e. click on a link or menu tab to go to a next page). It seems like the call in my update panel or the web service is executing on the same thread and that is in return blocking my ability to send/recieve requests and respones. Can anyone suggest away around this? can i make asynchronous calls from within an update panel? thanks Read More...
Persist Client Side Control Property Change
Hello, I am doubtful that what I am about to as is even possible, but here it goes anyway. I am using google maps, and when a marker is clicked I need to change the value in a hidden field on the page and force a postback. This is done client side. I am using an update panel underneath the map, and am using javascript to click a button inside of the the UpdatePanel to trigger the postback. On the serverside, I need to be able to access the hidden field value in order to display the correct data in a gridview, which resides in the update panel. Is there a way for the server to recognize the change to the hidden field? An alternate option would be to modify the request that the update panel sends to include query string paremeters. Is that possible...
Web Service that returns XML data
I need to build a web service that returns a lot of different data. It seems that I can build and return XMLDocument object, but how would a non .NET consumer parse the object? Is there a better data type to return? Read More...
More Posts Next page »