Click here to Skip to main content
15,907,233 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: problem with response.writefile and triggers Pin
jkirkerx31-Dec-14 9:57
professionaljkirkerx31-Dec-14 9:57 
QuestionHow must I solve this problem ? ( I don't know what it is ) Pin
Member 1134468130-Dec-14 21:45
Member 1134468130-Dec-14 21:45 
AnswerRe: How must I solve this problem ? ( I don't know what it is ) Pin
jkirkerx31-Dec-14 9:39
professionaljkirkerx31-Dec-14 9:39 
GeneralRe: How must I solve this problem ? ( I don't know what it is ) Pin
Member 113446811-Jan-15 22:25
Member 113446811-Jan-15 22:25 
Answerjquery paging&fancy box Pin
Member 1133082530-Dec-14 18:24
Member 1133082530-Dec-14 18:24 
AnswerRe: jquery paging&fancy box Pin
jkirkerx31-Dec-14 9:43
professionaljkirkerx31-Dec-14 9:43 
GeneralRe: jquery paging&fancy box Pin
Member 113308252-Jan-15 1:09
Member 113308252-Jan-15 1:09 
QuestionMVC/EF - Entity Relationship Not Being Saved Pin
Matt U.30-Dec-14 5:35
Matt U.30-Dec-14 5:35 
QuestionHow to show different results based on user choices??? Pin
samflex30-Dec-14 2:50
samflex30-Dec-14 2:50 
QuestionTerelik GridView Control using Vb.Net Pin
Johndas29-Dec-14 13:48
Johndas29-Dec-14 13:48 
QuestionGridview is out of content place holder Pin
sudevsu29-Dec-14 7:07
sudevsu29-Dec-14 7:07 
AnswerRe: Gridview is out of content place holder Pin
sudevsu30-Dec-14 4:21
sudevsu30-Dec-14 4:21 
Questionbest free Treeview Pin
mrkeivan29-Dec-14 0:02
mrkeivan29-Dec-14 0:02 
QuestionPage Loader Progress Bar Pin
smit66628-Dec-14 20:44
professionalsmit66628-Dec-14 20:44 
AnswerRe: Page Loader Progress Bar Pin
Richard MacCutchan28-Dec-14 22:16
mveRichard MacCutchan28-Dec-14 22:16 
QuestionHow to pass and use web page to an external class? Pin
QuickBooksDev28-Dec-14 7:21
QuickBooksDev28-Dec-14 7:21 
AnswerRe: How to pass and use web page to an external class? Pin
syed shanu28-Dec-14 13:43
professionalsyed shanu28-Dec-14 13:43 
GeneralRe: How to pass and use web page to an external class? Pin
QuickBooksDev29-Dec-14 4:10
QuickBooksDev29-Dec-14 4:10 
AnswerRe: How to pass and use web page to an external class? Pin
Dominic Burford30-Dec-14 5:44
professionalDominic Burford30-Dec-14 5:44 
GeneralRe: How to pass and use web page to an external class? Pin
QuickBooksDev31-Dec-14 0:23
QuickBooksDev31-Dec-14 0:23 
GeneralRe: How to pass and use web page to an external class? Pin
Dominic Burford31-Dec-14 0:40
professionalDominic Burford31-Dec-14 0:40 
GeneralRe: How to pass and use web page to an external class? Pin
QuickBooksDev31-Dec-14 1:36
QuickBooksDev31-Dec-14 1:36 
GeneralRe: How to pass and use web page to an external class? Pin
Dominic Burford31-Dec-14 1:56
professionalDominic Burford31-Dec-14 1:56 
I understand your need to get something working quickly, but equally you don't want to make bigger problems for yourselves further down the road. By passing the web page to your DLL you are creating a dependency which will make future development and maintenance difficult to say the least.

Firstly I would move all the code that is currently embedded in your web page to a separate class that can be invoked by your web page or any other class that requires it. This removes any dependency and gives you more flexibility going forwards.

There are many different ways in which to display messageboxes on a web page. You'll need a basic grasp of javascript. Here's just example of how it can be accomplished http://www.aspsnippets.com/Articles/Display-MessageBox-in-ASP.Net-using-JavaScript.aspx[^]
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare

Home | LinkedIn | Google+ | Twitter

GeneralRe: How to pass and use web page to an external class? Pin
QuickBooksDev4-Jan-15 5:35
QuickBooksDev4-Jan-15 5:35 
AnswerRe: How to pass and use web page to an external class? Pin
Ferd Really20-Jan-15 6:31
Ferd Really20-Jan-15 6:31 

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.