Click here to Skip to main content
15,887,898 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
Given: (I am new to web programming)

1. Visual Studio 2013, C# / VB

2. I have a front end C# Web app that handles the UI.

3. The C# page code behind calls a vb class in an external DLL to do the business logic.

4. The VB business class needs to update info on the UI page with status, etc. as it is running so it needs access to the Page.

How do you pass the page to the VB constructor?

I have tried various options as:

C#
VBMain VBM;
VBM = New VBMain(this);

with

VB
VBMain ...
Sub New(pWebCtl as Object)
.
Dim MyLblMsg as System.Web.UI.WebControls.Label = pWebCtl.FindControl("lblMsg")


but MyLblMsg is always nothing.

How do you pass and use the web page?

If I pass the label itself I do get it but would need an UpdatePanel to have it update. (This would be put in once I get the basics working).


How to pass and use web page to an external class?
AnswerRe: How to pass and use web page to an external class? Pin
syed shanu28-Dec-14 13:43
mvasyed 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 
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 
GeneralRe: How to pass and use web page to an external class? Pin
QuickBooksDev20-Jan-15 7:11
QuickBooksDev20-Jan-15 7:11 
QuestionStill i cant send email .will someone help? does any change require for smtp? Pin
Member 1133603427-Dec-14 5:39
Member 1133603427-Dec-14 5:39 
SuggestionRe: Still i cant send email .will someone help? does any change require for smtp? Pin
Richard MacCutchan27-Dec-14 9:34
mveRichard MacCutchan27-Dec-14 9:34 
GeneralRe: Still i cant send email .will someone help? does any change require for smtp? Pin
Member 1133603427-Dec-14 18:06
Member 1133603427-Dec-14 18:06 
GeneralRe: Still i cant send email .will someone help? does any change require for smtp? Pin
Richard MacCutchan27-Dec-14 23:10
mveRichard MacCutchan27-Dec-14 23:10 
Questioni am facing the NetworkCredential problem which is given below Pin
Member 1133603426-Dec-14 1:12
Member 1133603426-Dec-14 1:12 
AnswerRe: i am facing the NetworkCredential problem which is given below Pin
Wendelius26-Dec-14 1:56
mentorWendelius26-Dec-14 1:56 
GeneralRe: i am facing the NetworkCredential problem which is given below Pin
Member 1133603427-Dec-14 5:32
Member 1133603427-Dec-14 5:32 

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.