Click here to Skip to main content
15,900,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: About the control positioning in asp.net Pin
Christian Graus1-Oct-09 21:29
protectorChristian Graus1-Oct-09 21:29 
AnswerRe: About the control positioning in asp.net Pin
mr_muskurahat1-Oct-09 23:06
mr_muskurahat1-Oct-09 23:06 
AnswerRe: About the control positioning in asp.net Pin
Member 34209032-Oct-09 6:28
Member 34209032-Oct-09 6:28 
Questioncrystal report connection string from web.config Pin
vikas shukla1-Oct-09 20:13
vikas shukla1-Oct-09 20:13 
AnswerRe: crystal report connection string from web.config Pin
Christian Graus1-Oct-09 20:27
protectorChristian Graus1-Oct-09 20:27 
GeneralRe: crystal report connection string from web.config Pin
vikas shukla1-Oct-09 20:32
vikas shukla1-Oct-09 20:32 
GeneralRe: crystal report connection string from web.config Pin
Christian Graus1-Oct-09 21:14
protectorChristian Graus1-Oct-09 21:14 
QuestionViewState or Global variable Pin
Xmen Real 1-Oct-09 16:05
professional Xmen Real 1-Oct-09 16:05 
Sometimes I get confuse when creating custom web control that what should I use. I mean should I create properties like this :

public string Text
{
    get
    {
        String s = (String)ViewState["Text"];
        return ((s == null) ? String.Empty : s);
    }

    set
    {
        ViewState["Text"] = value;
    }
}



or like this

string text = "";
public string Text
{
    get
    {
        return text;
    }

    set
    {
        text = value;
    }
}


I know ViewState saves in client-side but the second way also works...I'm just wondering what is the difference b/w 'em ?



TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>

-----------------------------------------------
128 bit encrypted signature, crack if you can

AnswerRe: ViewState or Global variable Pin
Christian Graus1-Oct-09 16:38
protectorChristian Graus1-Oct-09 16:38 
Questiononline forms in asp.net Pin
kuduva1-Oct-09 8:31
kuduva1-Oct-09 8:31 
AnswerRe: online forms in asp.net Pin
Abhijit Jana1-Oct-09 8:46
professionalAbhijit Jana1-Oct-09 8:46 
GeneralRe: online forms in asp.net Pin
kuduva1-Oct-09 10:16
kuduva1-Oct-09 10:16 
GeneralRe: online forms in asp.net Pin
Abhijit Jana1-Oct-09 10:39
professionalAbhijit Jana1-Oct-09 10:39 
GeneralRe: online forms in asp.net Pin
kuduva1-Oct-09 10:49
kuduva1-Oct-09 10:49 
GeneralRe: online forms in asp.net Pin
Abhijit Jana1-Oct-09 10:55
professionalAbhijit Jana1-Oct-09 10:55 
GeneralRe: online forms in asp.net Pin
kuduva1-Oct-09 10:59
kuduva1-Oct-09 10:59 
GeneralRe: online forms in asp.net Pin
Abhijit Jana1-Oct-09 11:03
professionalAbhijit Jana1-Oct-09 11:03 
GeneralRe: online forms in asp.net Pin
kuduva1-Oct-09 11:04
kuduva1-Oct-09 11:04 
AnswerRe: online forms in asp.net Pin
Abhijit Jana1-Oct-09 11:17
professionalAbhijit Jana1-Oct-09 11:17 
GeneralRe: online forms in asp.net Pin
Xmen Real 1-Oct-09 16:14
professional Xmen Real 1-Oct-09 16:14 
Questionusing backend variables in html code Pin
laziale1-Oct-09 6:35
laziale1-Oct-09 6:35 
AnswerRe: using backend variables in html code Pin
Abhishek Sur1-Oct-09 8:09
professionalAbhishek Sur1-Oct-09 8:09 
Question[Message Deleted] Pin
JFK1011-Oct-09 4:19
JFK1011-Oct-09 4:19 
AnswerRe: ComboBox edit restrict to certain users. Pin
Abhishek Sur1-Oct-09 4:54
professionalAbhishek Sur1-Oct-09 4:54 
General[Message Deleted] Pin
JFK1011-Oct-09 5:53
JFK1011-Oct-09 5:53 

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.