Click here to Skip to main content
15,889,462 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: session Pin
Guffa10-Jan-07 9:45
Guffa10-Jan-07 9:45 
GeneralRe: session Pin
saravanan0510-Jan-07 10:03
saravanan0510-Jan-07 10:03 
AnswerRe: session Pin
Guffa10-Jan-07 10:12
Guffa10-Jan-07 10:12 
QuestionPurpose of creating user controls in .net Pin
vijay_8310-Jan-07 6:00
vijay_8310-Jan-07 6:00 
AnswerRe: Purpose of creating user controls in .net Pin
ednrgc10-Jan-07 6:59
ednrgc10-Jan-07 6:59 
AnswerRe: Purpose of creating user controls in .net Pin
ToddHileHoffer10-Jan-07 7:00
ToddHileHoffer10-Jan-07 7:00 
AnswerRe: Purpose of creating user controls in .net Pin
sanaziuse10-Jan-07 8:00
sanaziuse10-Jan-07 8:00 
AnswerRe: Purpose of creating user controls in .net [modified] Pin
Skanless10-Jan-07 16:47
Skanless10-Jan-07 16:47 
Great question!!.. I struggled with this question for quite sometime and could not understand why User Control were needed. Many senior developers answered my question by saying "It's the same as the #include file in classic ASP". Nonetheless, I never learnt or wrote classic ASP since during my Undergrad I was taught ASP.Net. Basically, the sole purpose of a user control is re-usability. The best explanantion would be that of the calendar as described in one of your previous response. A user control, for example is a login page, hence if a user needs to be logged-in to access a certain page on your site you can place the login (user) control on that page instead of re-writing that code on every page you need it on. In effect you write the code once and you can place it on as many pages as you like. It can be place in a table, placeholder or the page itself. This is done either programmatically using the @register directive or simply by dragging and dropping it on the page.


-- modified at 22:55 Wednesday 10th January, 2007

Skan
Coding makes the world go round!!!

GeneralRe: Purpose of creating user controls in .net Pin
Skanless10-Jan-07 16:54
Skanless10-Jan-07 16:54 
GeneralRe: Purpose of creating user controls in .net Pin
szukuro10-Jan-07 23:10
szukuro10-Jan-07 23:10 
Questionfirefox Pin
ADY00710-Jan-07 5:59
ADY00710-Jan-07 5:59 
AnswerRe: firefox Pin
Mark J. Miller10-Jan-07 6:50
Mark J. Miller10-Jan-07 6:50 
GeneralRe: firefox Pin
ADY00710-Jan-07 7:30
ADY00710-Jan-07 7:30 
GeneralRe: firefox Pin
Mark J. Miller10-Jan-07 7:44
Mark J. Miller10-Jan-07 7:44 
GeneralRe: firefox Pin
ADY00710-Jan-07 8:03
ADY00710-Jan-07 8:03 
GeneralRe: firefox Pin
Mark J. Miller10-Jan-07 9:10
Mark J. Miller10-Jan-07 9:10 
GeneralRe: firefox Pin
ADY00710-Jan-07 9:32
ADY00710-Jan-07 9:32 
AnswerRe: firefox Pin
Guffa10-Jan-07 10:06
Guffa10-Jan-07 10:06 
Questionsqldatasource with several formviews Pin
AndersLind10-Jan-07 5:26
AndersLind10-Jan-07 5:26 
AnswerRe: sqldatasource with several formviews Pin
minhpc_bk10-Jan-07 13:35
minhpc_bk10-Jan-07 13:35 
GeneralRe: sqldatasource with several formviews Pin
AndersLind12-Jan-07 3:24
AndersLind12-Jan-07 3:24 
QuestionPrint Functionality in asp.net Pin
fahiemulleh10-Jan-07 5:25
fahiemulleh10-Jan-07 5:25 
AnswerRe: Print Functionality in asp.net Pin
Christian Graus10-Jan-07 7:48
protectorChristian Graus10-Jan-07 7:48 
QuestionEasy way to display an image in a DataGrid? Pin
Lurker3210-Jan-07 3:55
Lurker3210-Jan-07 3:55 
AnswerRe: Easy way to display an image in a DataGrid? Pin
Christian Graus10-Jan-07 7:49
protectorChristian Graus10-Jan-07 7:49 

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.