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:865551
More Search Options
RSS Available
Matching Posts
Re: Panel controls' defaultbutton property works in development but not production
This did not fix the problem. What is it supposed to do? [quote user="shakti singh tanwar"] Try adding below code to code behind view plain copy to clipboard print ? protected override void OnPreRender (EventArgs args) { base .OnPreRender(args); this .ClientScript.RegisterStartupScript( this .GetType(), "resetBt" , "__defaultFired = false;" , true ); } protected override void OnPreRender (EventArgs args) { base.OnPreRender(args); this.ClientScript.RegisterStartupScript
Posted to
Web Forms
(Forum)
by
Jenner_30
on 8/10/2009
Re: Panel controls' defaultbutton property works in development but not production
Viewing source suggests there's no difference, which is quite odd. All the control names rendered at run-time are identical, the javascript code that handles the panels is there, etc.
Posted to
Web Forms
(Forum)
by
Jenner_30
on 8/10/2009
Re: Panel controls' defaultbutton property works in development but not production
I see someone posted the same type of problem on this page, but there is no answer present. [quote user="shahed.kazi"] http://weblogs.asp.net/scottgu/archive/2005/08/04/421647.aspx [/quote]
Posted to
Web Forms
(Forum)
by
Jenner_30
on 8/10/2009
Panel controls' defaultbutton property works in development but not production
This has me stumped. I have a simple setup where I have two submit buttons on a page, one for a web search and the other for a Login control. I have both wrapped in Panels withe a defaultbutton property set. They work as expected when run in Visual Studio 2008's development server environment - when I hit the Enter key on the search control, the search code fires. When I hit it on the Login control, the Login code fires. Well and good. However, when I run the same page on my production webserver
Posted to
Web Forms
(Forum)
by
Jenner_30
on 8/7/2009
Re: DefaultSubmit behaving oddly
I, too, would like to know if anyone has an answer. I have this problem with my Login control too, and I've tried converting the control to a template control and then wrapping the whole thing in a Panel with a DefaultButton set. It still doens't work.
Posted to
Web Forms
(Forum)
by
Jenner_30
on 7/21/2009
Re: Setting enter key default button when login control and search button on same page!!!
I've tried this (and a few other solutions found on the forums) but nothing seems to work for me. I have a loginview with a login control in the Anonymous Template, and have tried this Panel default button solution but my page's default button remains my search button at the top. My code is identical to yours, except it's wrapped in the template: <AnonymousTemplate> <asp:Panel ID="Panel1" runat="server" DefaultButton="Login1$LoginButton"> <asp
Posted to
Security
(Forum)
by
Jenner_30
on 7/20/2009
Programatically select a row in a listview based on bound control's text
I have a bound listview that I would like to select a row on programatically based on a querystring value. The listview is a list of employee names and phone numbers, and if the page is called with a certain employee's last name as a query parameter I want to select that emloyee's row so that the listview uses the SelectedItemTemplate for it. I tried this: 1 Protected Sub ListView1_ItemCreated( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.ListViewItemEventArgs) Handles ListView1
Posted to
Data Presentation Controls
(Forum)
by
Jenner_30
on 6/18/2009
Re: Programatically select a row in a listview based on bound control's text
Works great! Thanks a ton!
Posted to
Data Presentation Controls
(Forum)
by
Jenner_30
on 6/18/2009
Re: Binding checkboxes to non-boolean database columns on a FormView control
Yeah, I guess that's about all I can do other than change the underlying table to have bit datatypes instead of characters.
Posted to
Data Presentation Controls
(Forum)
by
Jenner_30
on 6/12/2009
Re: Binding checkboxes to non-boolean database columns on a FormView control
[quote user="chintanpshah"] How do you send the values to DB? Can you post code? [/quote] That's what I'm asking!
Posted to
Data Presentation Controls
(Forum)
by
Jenner_30
on 6/12/2009
Page 1 of 2 (15 items) 1
2
Next >
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online