Click here to Skip to main content
15,505,126 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Error - can not create enum dynamically Pin
Abhishek Sur28-Sep-09 7:43
professionalAbhishek Sur28-Sep-09 7:43 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 20:10
$unil Dhiman28-Sep-09 20:10 
GeneralRe: Error - can not create enum dynamically Pin
N a v a n e e t h28-Sep-09 21:21
N a v a n e e t h28-Sep-09 21:21 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 21:44
$unil Dhiman28-Sep-09 21:44 
AnswerRe: Error - can not create enum dynamically Pin
Michael Eber28-Sep-09 7:43
Michael Eber28-Sep-09 7:43 
GeneralRe: Error - can not create enum dynamically Pin
$unil Dhiman28-Sep-09 19:44
$unil Dhiman28-Sep-09 19:44 
AnswerPlease Don't Cross Post Pin
Abhijit Jana28-Sep-09 8:52
professionalAbhijit Jana28-Sep-09 8:52 
QuestionExtracting innerHTML from a div elements that contains dynamic controls Pin
compninja2528-Sep-09 6:32
compninja2528-Sep-09 6: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 6:48
N a v a n e e t h28-Sep-09 6:48 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls [modified] Pin
compninja2528-Sep-09 7:16
compninja2528-Sep-09 7:16 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
Abhishek Sur28-Sep-09 7:32
professionalAbhishek Sur28-Sep-09 7:32 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
N a v a n e e t h28-Sep-09 7:41
N a v a n e e t h28-Sep-09 7:41 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
compninja2528-Sep-09 11:52
compninja2528-Sep-09 11:52 
GeneralRe: Extracting innerHTML from a div elements that contains dynamic controls Pin
Member 457983222-Apr-10 23:05
Member 457983222-Apr-10 23:05 
QuestionWeb User Control ASP.NET 2.0 Pin
Swastik Das28-Sep-09 6:25
Swastik Das28-Sep-09 6:25 
AnswerRe: Web User Control ASP.NET 2.0 Pin
Abhishek Sur28-Sep-09 7:10
professionalAbhishek Sur28-Sep-09 7:10 
QuestionHow to create subdomain programmatically in VB.NET Pin
Guvera28-Sep-09 5:39
Guvera28-Sep-09 5:39 
AnswerRe: How to create subdomain programmatically in VB.NET Pin
Michael Eber28-Sep-09 7:44
Michael Eber28-Sep-09 7:44 
QuestionNew ASP.Net Ajax Website in VS 2K5 Pin
Abdul Rahman Hamidy28-Sep-09 5:09
Abdul Rahman Hamidy28-Sep-09 5:09 
AnswerRe: New ASP.Net Ajax Website in VS 2K5 Pin
N a v a n e e t h28-Sep-09 5:22
N a v a n e e t h28-Sep-09 5:22 
QuestionChanging LabelText via Java Script Pin
vivekphlp28-Sep-09 3:11
vivekphlp28-Sep-09 3:11 
AnswerRe: Changing LabelText via Java Script [modified] Pin
N a v a n e e t h28-Sep-09 3:36
N a v a n e e t h28-Sep-09 3:36 
GeneralRe: Changing LabelText via Java Script Pin
majee28-Sep-09 4:27
majee28-Sep-09 4:27 
GeneralRe: Changing LabelText via Java Script Pin
N a v a n e e t h28-Sep-09 5:21
N a v a n e e t h28-Sep-09 5:21 
GeneralRe: Changing LabelText via Java Script Pin
majee28-Sep-09 5:29
majee28-Sep-09 5: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.