Click here to Skip to main content
15,921,837 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: linkbutton Pin
Bassam Saoud18-Jan-07 8:18
Bassam Saoud18-Jan-07 8:18 
GeneralRe: linkbutton Pin
netJP12L18-Jan-07 8:33
netJP12L18-Jan-07 8:33 
GeneralRe: linkbutton Pin
Bassam Saoud18-Jan-07 9:07
Bassam Saoud18-Jan-07 9:07 
AnswerRe: linkbutton Pin
Rojan Gh.18-Jan-07 11:25
professionalRojan Gh.18-Jan-07 11:25 
QuestionList index changed event Pin
Rahithi18-Jan-07 7:08
Rahithi18-Jan-07 7:08 
AnswerRe: List index changed event Pin
Mike Ellison18-Jan-07 7:30
Mike Ellison18-Jan-07 7:30 
GeneralRe: List index changed event Pin
Rahithi18-Jan-07 8:24
Rahithi18-Jan-07 8:24 
QuestionASP.NET 2.0 - App_Code Folder Pin
netaspx18-Jan-07 5:13
netaspx18-Jan-07 5:13 
hi all,

my problem is in previous ASP.NET (VS 2003) writing a
function that grabs a string value from a textbox is as easy as:
dim str as string = me.TextBox1.Text

but with visual studio 2005 I can't do this simple way because the class for
that form is placed in the app_code folder and it will not see non of the
web controls on the web form, so saying:

dim str as string = me.TextBox1.Text will not work and it complains about
the TextBox1 is not defined. in more details, I have a function was working
in visual studio 2003 that calls a stored procedure in sql server 2005, this
function passes a variables (3 variables) from a 3 textboxes on the form.
And I am calling this function everytime the user changes the value of one
of these textboxes.

now since the migration, visual studio 2005 puts all classes under App_Code
folder (as one of their new features!!) moving my function under the
App_Code folder prevents me from calling/Getting the values of those
textboxes as they change why? because the class can't see those controls
sitting on the form!

I am going crazy with this. Does anyone know?

thanks for your help.

AnswerRe: ASP.NET 2.0 - App_Code Folder Pin
eggsovereasy18-Jan-07 5:28
eggsovereasy18-Jan-07 5:28 
GeneralRe: ASP.NET 2.0 - App_Code Folder [modified] Pin
netaspx18-Jan-07 5:42
netaspx18-Jan-07 5:42 
Questionbackground color of check box Pin
amit_k_gupta18-Jan-07 5:02
amit_k_gupta18-Jan-07 5:02 
AnswerRe: background color of check box Pin
Mike Ellison18-Jan-07 5:30
Mike Ellison18-Jan-07 5:30 
GeneralRe: background color of check box Pin
amit_k_gupta18-Jan-07 6:57
amit_k_gupta18-Jan-07 6:57 
GeneralRe: background color of check box Pin
Mike Ellison18-Jan-07 7:28
Mike Ellison18-Jan-07 7:28 
QuestionUrgent help required about Repeater Control Pin
koonda00718-Jan-07 4:57
koonda00718-Jan-07 4:57 
AnswerRe: Urgent help required about Repeater Control Pin
Mike Ellison18-Jan-07 5:33
Mike Ellison18-Jan-07 5:33 
GeneralRe: Urgent help required about Repeater Control Pin
koonda00718-Jan-07 10:06
koonda00718-Jan-07 10:06 
GeneralRe: Urgent help required about Repeater Control Pin
Mike Ellison18-Jan-07 10:26
Mike Ellison18-Jan-07 10:26 
GeneralRe: Urgent help required about Repeater Control Pin
koonda00719-Jan-07 4:32
koonda00719-Jan-07 4:32 
GeneralRe: Urgent help required about Repeater Control Pin
Mike Ellison19-Jan-07 5:23
Mike Ellison19-Jan-07 5:23 
QuestionPassword control problem Pin
nour12318-Jan-07 2:55
nour12318-Jan-07 2:55 
AnswerRe: Password control problem Pin
Christian Graus18-Jan-07 10:15
protectorChristian Graus18-Jan-07 10:15 
GeneralRe: Password control problem Pin
nour12318-Jan-07 13:07
nour12318-Jan-07 13:07 
GeneralRe: Password control problem Pin
Christian Graus19-Jan-07 8:05
protectorChristian Graus19-Jan-07 8:05 
QuestionRun time error! Pin
nclauder18-Jan-07 1:56
nclauder18-Jan-07 1:56 

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.