Click here to Skip to main content
15,891,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRepeater within update panel - slow Pin
debbie_cruz7-Nov-07 13:37
debbie_cruz7-Nov-07 13:37 
QuestionASP .NET 2.0 Login Control Pin
kenexcelon7-Nov-07 10:39
kenexcelon7-Nov-07 10:39 
AnswerRe: ASP .NET 2.0 Login Control Pin
Pete O'Hanlon7-Nov-07 11:39
mvePete O'Hanlon7-Nov-07 11:39 
GeneralRe: ASP .NET 2.0 Login Control Pin
kenexcelon8-Nov-07 9:04
kenexcelon8-Nov-07 9:04 
GeneralRe: ASP .NET 2.0 Login Control Pin
Pete O'Hanlon8-Nov-07 9:28
mvePete O'Hanlon8-Nov-07 9:28 
QuestionLoading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 8:41
Frankidoze7-Nov-07 8:41 
AnswerRe: Loading image at run time in a custom control used in a page. How to code this? Pin
pmarfleet7-Nov-07 9:44
pmarfleet7-Nov-07 9:44 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 10:00
Frankidoze7-Nov-07 10:00 
pmarfleet wrote:
So you need to add a property to your custom control for getting/setting the image url that internally maps to this property


Well, the Image is not set by the user but at render time because the image to set depends on different conditions.
What I need to know is how to build the URL dynamically in the Render() method so it would work wherever the control is used.
I'm looking for something like:
protected override void Render(HtmlTextWriter writer)
{
    this._ico.ImageUrl = "imageUrl.gif";
    this._ico.RenderControl(writer);
}


I just need to know how to build a correct URL as the image is embed in the custom control dll.

Thank you for your answers.


"Nothing is lost, Nothing is created, Everything is transformed" Lavoisier

GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
pmarfleet7-Nov-07 10:11
pmarfleet7-Nov-07 10:11 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 10:55
Frankidoze7-Nov-07 10:55 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
ahmet.ureten8-Nov-07 10:11
ahmet.ureten8-Nov-07 10:11 
AnswerRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Guffa7-Nov-07 10:12
Guffa7-Nov-07 10:12 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 10:46
Frankidoze7-Nov-07 10:46 
AnswerI found the solution...Probably will write a paper about it Pin
Frankidoze7-Nov-07 12:05
Frankidoze7-Nov-07 12:05 
AnswerSolution Pin
Frankidoze7-Nov-07 12:34
Frankidoze7-Nov-07 12:34 
QuestionWhat are token ID's?? Pin
Goalie357-Nov-07 5:41
Goalie357-Nov-07 5:41 
QuestionIIS and .Net Issue - .aspx pages not pulling Pin
dboy2217-Nov-07 4:57
dboy2217-Nov-07 4:57 
AnswerRe: IIS and .Net Issue - .aspx pages not pulling Pin
Michael Sync7-Nov-07 5:32
Michael Sync7-Nov-07 5:32 
GeneralRe: IIS and .Net Issue - .aspx pages not pulling Pin
dboy2217-Nov-07 6:18
dboy2217-Nov-07 6:18 
GeneralRe: IIS and .Net Issue - .aspx pages not pulling Pin
Michael Sync7-Nov-07 6:21
Michael Sync7-Nov-07 6:21 
GeneralRe: IIS and .Net Issue - .aspx pages not pulling Pin
dboy2217-Nov-07 6:31
dboy2217-Nov-07 6:31 
GeneralRe: IIS and .Net Issue - .aspx pages not pulling Pin
dboy2217-Nov-07 8:42
dboy2217-Nov-07 8:42 
GeneralRe: IIS and .Net Issue - .aspx pages not pulling Pin
Michael Sync7-Nov-07 16:51
Michael Sync7-Nov-07 16:51 
QuestionBest layout for Subscriptions Page Pin
.NetRocker7-Nov-07 4:50
.NetRocker7-Nov-07 4:50 
AnswerRe: Best layout for Subscriptions Page Pin
Michael Sync7-Nov-07 5:54
Michael Sync7-Nov-07 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.