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:235038
More Search Options
RSS Available
Matching Posts
Re: Problem with UpdatePanel within UserControl within UpdatePanel
Been travelling for the last few days, but I finally figured it out and wanted to share with the rest of you: The problem I was encountering where the control ID was changing after dynamically loading a user control can be fixed by manually providing an ID before adding it to the UpdatePanel. So, I just added one line to my "LoadControl" method, and everything started working great. private void LoadControl() { Control ctl = this .LoadControl( "test1.ascx" ); // Must set ctl ID ctl.ID = "viewctl
Posted to
ASP.NET AJAX UI
(Forum)
by
bigkat
on 3/1/2007
Re: button event inside user control is not firing
Have you found a solution to this problem? I'm noticing the same exact thing. Read my last message on my post here: http://forums.asp.net/1595395/ShowThread.aspx#1595395 The first time I click on a dynamically loaded user control's button, nothing happens. After clicking on it twice, the updates start working fine. Looking through Fiddler, I saw the two requests initiated from the button each having a difference postback control id. I think that may be the problem, but I don't know what's causing
Posted to
ASP.NET AJAX UI
(Forum)
by
bigkat
on 2/26/2007
Re: Problem with UpdatePanel within UserControl within UpdatePanel
Ok, a little bit more info that may help out. After loading the user control by default for the initial page load, the LinkButton ("Button1") contained within the user control's UpdatePanel ("UpdatePanel1") shows the following for it's href: javascript:__doPostBack('ctl04$Button1','') Then when I click on the main "Test1" LinkButton link at the top of the page, the href for the same user control LinkButton ("Button1") then shows: javascript:__doPostBack('ctl05$Button1','') I should not that clicking
Posted to
ASP.NET AJAX UI
(Forum)
by
bigkat
on 2/26/2007
Re: Problem with UpdatePanel within UserControl within UpdatePanel
Thanks for the suggestion. I do have UpdateMode set to "Conditional", but I'm not sure that's the problem. I guess my real question centers around how/when I'm supposed to dynamically load the UserControl within the event sequence for the page. Here's an example of what I'm trying to do: default.aspx: < asp:LinkButton ID= "LinkButton1" runat= "server" CommandName= "sitenav" CommandArgument= "Test1" OnCommand= "NavigateSite" >Test1</ asp:LinkButton > < asp:LinkButton ID= "LinkButton2
Posted to
ASP.NET AJAX UI
(Forum)
by
bigkat
on 2/26/2007
Problem with UpdatePanel within UserControl within UpdatePanel
If the title was too confusing, here's a breakdown of the problem I'm having: I have a page with an UpdatePanel in it. Within that UpdatePanel, I dynamically load the .ascx file. This UserControl has a static UpdatePanel within itself. The page technically works, although I'm sure the wiring up behind the scenes is NOT correct -- the only way to get it to work (most of the time) is to dynamically load the UserControl both everytime the page loads, as well as every time a trigger occurs. Even then
Posted to
ASP.NET AJAX UI
(Forum)
by
bigkat
on 2/25/2007
Re: Ellipses when overflow
unfortunately, yes. i think "ellipses" support will only be available in CSS3, under the "text-overflow-mode" attribute.
Posted to
Client Side Web Development
(Forum)
by
bigkat
on 10/19/2005
Re: Ellipses when overflow
To create your ellipses, use the style: text-overflow: ellipsis;
Posted to
Client Side Web Development
(Forum)
by
bigkat
on 10/19/2005
Re: PortalSettings retrieved for every page request?
Thanks! You're exactly right. It was in the UrlRewriteModule in the OnBeginRequest method. It's no wonder my search wasn't finding it, because they were using a local HttpApplication variable "app"!!!
Posted to
Core Framework
(Forum)
by
bigkat
on 5/9/2005
Re: PortalSettings retrieved for every page request?
Anyone have a clue?
Posted to
Core Framework
(Forum)
by
bigkat
on 5/6/2005
PortalSettings retrieved for every page request?
I've been trying to learn more about how the framework handles loading PortalSettings for the page. I know it stores it in the HttpContext.Current.Items collection, but I can't seem to figure out exactly what it's doing. I know in the PageBase class, for the OnInit() function, it calls the "LocalizePortalSettings" function, where it then typecasts the HttpContext item, performs localization, and overrides the original HttpContext items. But in what code is the HttpContext.Current.Items being stored
Posted to
Core Framework
(Forum)
by
bigkat
on 5/2/2005
Page 1 of 11 (101 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online