Click here to Skip to main content
15,881,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Error - can not create enum dynamically Pin
Abhishek Sur28-Sep-09 6:43
professionalAbhishek Sur28-Sep-09 6:43 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 19:10
$unil Dhiman28-Sep-09 19:10 
GeneralRe: Error - can not create enum dynamically Pin
N a v a n e e t h28-Sep-09 20:21
N a v a n e e t h28-Sep-09 20:21 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 20:44
$unil Dhiman28-Sep-09 20:44 
AnswerRe: Error - can not create enum dynamically Pin
Michael Eber28-Sep-09 6:43
Michael Eber28-Sep-09 6:43 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 18:44
$unil Dhiman28-Sep-09 18:44 
AnswerPlease Don't Cross Post Pin
Abhijit Jana28-Sep-09 7:52
professionalAbhijit Jana28-Sep-09 7:52 
QuestionExtracting innerHTML from a div elements that contains dynamic controls Pin
compninja2528-Sep-09 5:32
compninja2528-Sep-09 5:32 
Hi Everyone,

I was curious if it's possible to grab the HTML that a client would receive after the server processes a bit of code. I'm building a web app that will need to send an e-mail notification to the end user. I've already created the dynamic code and display the confirmation on the screen, but what I would like to do is something like this:
MailMessage.Body = Confirmation_div.InnerHtml.ToString();

This way, I can simply email all of the items without having to rebuild the message body html. This bit of code gives me an error indicating that the server can't grab the innerHTML because the div element isn't using any literal controls. Is there a way to convert all of the dynamic controls (after the values have been designated) to literal controls, or somehow grabbing the HTML equilavent that will be sent to the client during the PAGE_PreRender or something?

Thanks!

Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.

AnswerRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
N a v a n e e t h28-Sep-09 5:48
N a v a n e e t h28-Sep-09 5:48 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls [modified] Pin
compninja2528-Sep-09 6:16
compninja2528-Sep-09 6:16 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
Abhishek Sur28-Sep-09 6:32
professionalAbhishek Sur28-Sep-09 6:32 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
N a v a n e e t h28-Sep-09 6:41
N a v a n e e t h28-Sep-09 6:41 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
compninja2528-Sep-09 10:52
compninja2528-Sep-09 10:52 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
Member 457983222-Apr-10 22:05
Member 457983222-Apr-10 22:05 
QuestionWeb User Control ASP.NET 2.0 Pin
Swastik Das28-Sep-09 5:25
Swastik Das28-Sep-09 5:25 
AnswerRe: Web User Control ASP.NET 2.0 Pin
Abhishek Sur28-Sep-09 6:10
professionalAbhishek Sur28-Sep-09 6:10 
QuestionHow to create subdomain programmatically in VB.NET Pin
Guvera28-Sep-09 4:39
Guvera28-Sep-09 4:39 
AnswerRe: How to create subdomain programmatically in VB.NET Pin
Michael Eber28-Sep-09 6:44
Michael Eber28-Sep-09 6:44 
QuestionNew ASP.Net Ajax Website in VS 2K5 Pin
Abdul Rahman Hamidy28-Sep-09 4:09
Abdul Rahman Hamidy28-Sep-09 4:09 
AnswerRe: New ASP.Net Ajax Website in VS 2K5 Pin
N a v a n e e t h28-Sep-09 4:22
N a v a n e e t h28-Sep-09 4:22 
QuestionChanging LabelText via Java Script Pin
vivekphlp28-Sep-09 2:11
vivekphlp28-Sep-09 2:11 
AnswerRe: Changing LabelText via Java Script [modified] Pin
N a v a n e e t h28-Sep-09 2:36
N a v a n e e t h28-Sep-09 2:36 
GeneralRe: Changing LabelText via Java Script Pin
majee28-Sep-09 3:27
majee28-Sep-09 3:27 
GeneralRe: Changing LabelText via Java Script Pin
N a v a n e e t h28-Sep-09 4:21
N a v a n e e t h28-Sep-09 4:21 
GeneralRe: Changing LabelText via Java Script Pin
majee28-Sep-09 4:29
majee28-Sep-09 4:29 

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.