Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: RPC Server unavailable. Excel Process Pin
Mathumala_p29-Aug-13 21:28
Mathumala_p29-Aug-13 21:28 
QuestionAdd signature in MP3 file Pin
hamroush28-Aug-13 23:48
hamroush28-Aug-13 23:48 
AnswerRe: Add signature in MP3 file Pin
BillWoodruff29-Aug-13 3:36
professionalBillWoodruff29-Aug-13 3:36 
QuestionPostBack data lost ASP.NET 4.5 Pin
Paulo J Afonso28-Aug-13 23:47
Paulo J Afonso28-Aug-13 23:47 
AnswerRe: PostBack data lost ASP.NET 4.5 Pin
Richard Deeming29-Aug-13 2:05
mveRichard Deeming29-Aug-13 2:05 
GeneralRe: PostBack data lost ASP.NET 4.5 Pin
Paulo J Afonso29-Aug-13 2:31
Paulo J Afonso29-Aug-13 2:31 
GeneralRe: PostBack data lost ASP.NET 4.5 Pin
Richard Deeming29-Aug-13 3:32
mveRichard Deeming29-Aug-13 3:32 
GeneralRe: PostBack data lost ASP.NET 4.5 Pin
Forbiddenx30-Aug-13 3:24
Forbiddenx30-Aug-13 3:24 
You can hook events OnLoad() and still have access to session and ViewState.

But, from my experience Dynamic controls can be a night mirror, so being new to dotnet you may want to look at other options to do what you are trying to do..

Like Repeater Control, ListView, etc.

Also, your control ID is very important..
If you generating controls for example each time you generate them if you want them to keep their ViewState data then you must assign them the same ID they where on the prev postback.

I have often implemented a list type of viewstate where I can add all the controls there..
But, then you also run into a lot of problems with this too...
IE, Rendering.. etc.... life cycle hell..

So, I would see if the build in controls will do what you want before going down the dynamic path of life cycle hell.

I also want to add you can use viewstate, its often better to use then sessions for passing simple postbacks.

Good luck my friend... its a scary path..
=)


modified 30-Aug-13 9:41am.

AnswerRe: PostBack data lost ASP.NET 4.5 Pin
Nelson Costa Inácio3-Sep-13 4:29
Nelson Costa Inácio3-Sep-13 4:29 
QuestionSMDR Data Collection using Tcp/ip in c# Pin
hamroush28-Aug-13 23:31
hamroush28-Aug-13 23:31 
QuestionRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 0:31
mveRichard MacCutchan29-Aug-13 0:31 
AnswerRe: SMDR Data Collection using Tcp/ip in c# Pin
sep_exambo29-Aug-13 3:08
professionalsep_exambo29-Aug-13 3:08 
GeneralRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 3:20
mveRichard MacCutchan29-Aug-13 3:20 
AnswerRe: SMDR Data Collection using Tcp/ip in c# Pin
NotPolitcallyCorrect29-Aug-13 2:06
NotPolitcallyCorrect29-Aug-13 2:06 
GeneralRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 3:22
mveRichard MacCutchan29-Aug-13 3:22 
QuestionMATLAB Builder NE deployment problem Pin
shwetanisha28-Aug-13 20:23
shwetanisha28-Aug-13 20:23 
QuestionRe: MATLAB Builder NE deployment problem Pin
Richard MacCutchan28-Aug-13 21:28
mveRichard MacCutchan28-Aug-13 21:28 
AnswerRe: MATLAB Builder NE deployment problem Pin
shwetanisha28-Aug-13 21:55
shwetanisha28-Aug-13 21:55 
GeneralRe: MATLAB Builder NE deployment problem Pin
Richard MacCutchan28-Aug-13 22:11
mveRichard MacCutchan28-Aug-13 22:11 
GeneralRe: MATLAB Builder NE deployment problem Pin
shwetanisha29-Aug-13 0:15
shwetanisha29-Aug-13 0:15 
GeneralRe: MATLAB Builder NE deployment problem Pin
Richard MacCutchan29-Aug-13 0:29
mveRichard MacCutchan29-Aug-13 0:29 
GeneralRe: MATLAB Builder NE deployment problem Pin
shwetanisha29-Aug-13 2:03
shwetanisha29-Aug-13 2:03 
GeneralRe: MATLAB Builder NE deployment problem Pin
Pete O'Hanlon29-Aug-13 2:38
mvePete O'Hanlon29-Aug-13 2:38 
GeneralRe: MATLAB Builder NE deployment problem Pin
Richard MacCutchan29-Aug-13 2:59
mveRichard MacCutchan29-Aug-13 2:59 
GeneralRe: MATLAB Builder NE deployment problem Pin
shwetanisha29-Aug-13 19:56
shwetanisha29-Aug-13 19: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.