Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:875973
More Search Options
RSS Available
Matching Posts
Re: Saving data changes on leaving page
Hi NC, Thank you for the reply. We tried that event and the alert seems to be gone. Thanks. But two issues remain unresolved. 1) Focus can't be set on this page when page validation fails. The user is redirected to new page. 2) Data changes not saved on Browser close in Mozilla. But it is getting saved on closing IE. Could u plz help...
Posted to
Client Side Web Development
(Forum)
by
Usha82
on 8/25/2009
Filed under: Saving data changes on leaving page
Saving data changes on leaving page
Here is a brief description of my requirement. We have an aspx page. On leaving this page(by selecting any other menu option or by closing the browser), we have to save any changes made by the user. Also, if any server side error occurs during saving, we have to show that message in this page and set focus on the same page. We have achieved the requirement(except setting focus on page if there is some serverside error after saving on browser close) by calling a js function on window.onbeforeunload
Posted to
Client Side Web Development
(Forum)
by
Usha82
on 8/23/2009
Filed under: Saving data changes on leaving page
Re: how to call function/javascript from .cs?
Please try this add this code in click event of button in .cs file ScriptManager.RegisterStartupScript(this, this.GetType(), "fnTimer", " startTimer ();", true);
Posted to
Web Forms
(Forum)
by
Usha82
on 7/31/2009
Re: Execute stored procedure multiple times
Please try this.. exec dbo.StoredProcedure @Value Go 5
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Usha82
on 7/24/2009
Re: Execute stored procedure multiple times
Hi, R u using sql server 2005? I've verified that there won't be a syntax error. Here is the sample i've used declare @str_class varchar(20) set @str_class='classname' exec [selectClass] @str_class Go 5
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Usha82
on 7/24/2009
Re: display and save multiple listbox values into multiple textboxes
Here is the markup and entire code I wrote for this problem. <table> <tr> <td colspan="5"> <asp:ListBox ID="lstIDs" runat="server" SelectionMode="Multiple" Width="133px"> <asp:ListItem>ID1</asp:ListItem> <asp:ListItem>ID2</asp:ListItem> <asp:ListItem>ID3</asp:ListItem> <asp:ListItem>ID4</asp:ListItem> </asp:ListBox> </td> </tr> <tr> <td> <asp:TextBox
Posted to
Web Forms
(Forum)
by
Usha82
on 7/16/2009
Re: populate dropdown list with files from local folder
have you set the AutoPostBack property of dropdownlist to true? Is there any static items in the dropdownlist? I was able to do the same by adding two static items to dropdownlist and on selectedindexchanged event used the same code and i got my dropdownlist filled with file names.
Posted to
Web Forms
(Forum)
by
Usha82
on 7/15/2009
Re: display and save multiple listbox values into multiple textboxes
protected void Button1_Click(object sender, EventArgs e) { int[] indices = lstIDs.GetSelectedIndices(); for (int i = 0; i < indices.Length; i++) { ((TextBox)this.form1.FindControl("TextBox" + (indices[i]+1).ToString())).Text = lstIDs.Items[indices[i]].Text; } }
Posted to
Web Forms
(Forum)
by
Usha82
on 7/14/2009
Re: display and save multiple listbox values into multiple textboxes
jon11Sin, What I understood from ur reply is that you have a dropdown with some categories and when it's selectedindex changes a listbox will be populated with corresponding sub-categories. From that listbox you can select multiple subcategoryIDs. Right? The code i've given there was for showing the selected item in listbox to different textboxes. Its logic is as follows, if you select the first item from the listbox that item will be displayed in TextBox1 and if u selec the second item from
Posted to
Web Forms
(Forum)
by
Usha82
on 7/14/2009
Re: Trying to add spaces to my menu item (using Menu Control and StaticItemFormatString)
Please change StaticItemFormatString as StaticItemFormatString=" {0} "
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Usha82
on 7/2/2009
Page 1 of 2 (19 items) 1
2
Next >
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online