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

ASP.NET

 
QuestionHTTPS implmentation issue in asp.net Pin
afsal qureshi23-Jan-12 3:47
afsal qureshi23-Jan-12 3:47 
AnswerRe: HTTPS implmentation issue in asp.net Pin
jkirkerx25-Jan-12 13:14
professionaljkirkerx25-Jan-12 13:14 
QuestionAsp.net rdlc reports hanging in production (Ajax application) Pin
nikam.chetan23-Jan-12 1:56
nikam.chetan23-Jan-12 1:56 
AnswerRe: Asp.net rdlc reports hanging in production (Ajax application) Pin
thatraja23-Jan-12 2:27
professionalthatraja23-Jan-12 2:27 
QuestionHow to build business layer in MVC3 project? Pin
Tesic Goran22-Jan-12 9:08
professionalTesic Goran22-Jan-12 9:08 
AnswerRe: How to build business layer in MVC3 project? Pin
Anurag Gandhi23-Jan-12 0:39
professionalAnurag Gandhi23-Jan-12 0:39 
QuestionSeveral HTTPS sites on the same server! possible? Pin
abbd22-Jan-12 7:59
abbd22-Jan-12 7:59 
QuestionIFrame name Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 2:20
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 2:20 
guys, i have a problem that doesn't seem logical.

i have added this code to the Render() method of my new web control:
C#
System.Web.UI.HtmlControls.HtmlGenericControl PreviewFrame = null;
if (!string.IsNullOrEmpty(this.PreviewFrameID))
{
    PreviewFrame =(System.Web.UI.HtmlControls.HtmlGenericControl) this.NamingContainer.FindControl(this.PreviewFrameID);
    if (btnSubmit == null) throw new HttpException("PreviewFrameID must point to an existing control on the page.");
    PreviewFrame.Attributes.Add("name", PreviewFrame.UniqueID);
}


this code should add a name attribute to the Preview Frame to which i can target a response with type "image/jpeg".
ASP.NET
<iframe id="PreviewFrame" runat="server"></iframe>


but amazingly, this doesn't work!!
Help people,so poeple can help you.

AnswerRe: IFrame name Pin
Not Active22-Jan-12 4:00
mentorNot Active22-Jan-12 4:00 
GeneralRe: IFrame name Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 4:49
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 4:49 
AnswerRe: IFrame name Pin
Ali Al Omairi(Abu AlHassan)24-Jan-12 20:34
professionalAli Al Omairi(Abu AlHassan)24-Jan-12 20:34 
Questionconfirmation box in between code-behind instructions Pin
Vijay Bhojwani20-Jan-12 5:25
Vijay Bhojwani20-Jan-12 5:25 
AnswerRe: confirmation box in between code-behind instructions Pin
Ali Al Omairi(Abu AlHassan)22-Jan-12 1:58
professionalAli Al Omairi(Abu AlHassan)22-Jan-12 1:58 
QuestionDynamic Ajax controls not visible on button click event Pin
byka20-Jan-12 4:18
byka20-Jan-12 4:18 
QuestionProblem in AutocompleteExtender Pin
Member 831109520-Jan-12 2:19
Member 831109520-Jan-12 2:19 
AnswerRe: Problem in AutocompleteExtender Pin
Member 831109520-Jan-12 21:11
Member 831109520-Jan-12 21:11 
QuestionWebControl - call method from markup Pin
Hanzaplast20-Jan-12 0:59
Hanzaplast20-Jan-12 0:59 
QuestionNeed of Profession CSS for Gridview in ASP.NET Pin
ssnsol20-Jan-12 0:43
ssnsol20-Jan-12 0:43 
QuestionAccessing ASP.NET application through virtual directory. Pin
ssnsol20-Jan-12 0:13
ssnsol20-Jan-12 0:13 
QuestionAsp.net c# list<string> Pin
Member 831109519-Jan-12 21:16
Member 831109519-Jan-12 21:16 
AnswerRe: Asp.net c# list Pin
ssnsol20-Jan-12 0:22
ssnsol20-Jan-12 0:22 
Questionmaintain scroll in master page Pin
buffering8319-Jan-12 20:00
buffering8319-Jan-12 20:00 
QuestionAutocomplete textbox problem Pin
Member 831109518-Jan-12 23:25
Member 831109518-Jan-12 23:25 
AnswerRe: Autocomplete textbox problem Pin
sri08018818-Jan-12 23:57
sri08018818-Jan-12 23:57 
GeneralRe: Autocomplete textbox problem Pin
Member 831109519-Jan-12 3:13
Member 831109519-Jan-12 3:13 

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.