ASP.NET vs VB.NET

R

rbutch

guys i have a very simple question concerning the differences between the two.
for instance, radio buttons and the checkchanged event.
it really doesnt seem to respond in asp.net if i set an if statemtent in that control,
where if checked = true, then one thing happens, or if checked = false another thing happens.
but, in VB.NET it responds perfectly.
is there something extra i have to do. i am using the radio button as a server control.
thanks guys.
i know this is a pretty simple one for probably everyone..........but, it's kinda got me curious
thanks
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
J

John Saunders

rik butcher said:
guys i have a very simple question concerning the differences between the
two.

You are comparing apples and oranges. Perhaps you meant to compare ASP.NET
Web Forms applications with Windows Forms applications?
for instance, radio buttons and the checkchanged event.
it really doesnt seem to respond in asp.net if i set an if statemtent in
that control,
where if checked = true, then one thing happens, or if checked = false
another thing happens.
but, in VB.NET it responds perfectly.
is there something extra i have to do. i am using the radio button as a
server control.
thanks guys.
i know this is a pretty simple one for probably everyone..........but,
it's kinda got me curious

You might want to read the following to give you an idea of some of the more
fundamental differences between ASP.NET and Windows Forms:

The ASP.NET Page Object Model
(http://msdn.microsoft.com/library/d...pp/html/aspnet-pageobjectmodel.asp?frame=true)



John Saunders
 
R

rbutch

once again, thanks for the feedback. yes, i did set that to true. but until i built a template using _Load it really didnt act like i'm used to in VB.
and i do appreciate the link, im printing it right now.
thanks
rik



**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
S

Scott M.

ASP.NET is not a language, it is a server-side web application architecture.
You can use any .NET language in this architecture.

VB.NET is a language, not an architecture. You can use VB.NET to create
many different applications that use many different architectures.

Because these are 2 very different things, you don't really compare them.

As for your problem, write this in your RadioButton's CheckChanged event
hander:

If YourRadioButtonID.Checked Then
response.write("You clicked the button")
Else
response.write("You didn't click the button")
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FTP a text file 3
grid scroll 2
Databinder.eval Formatting 1
Intellisense 3
StreamWriter/StreamReader 3
Need advice-VB.NET to C# transition 8
comparing two lists 2
window.open 2

Top