Click here to Skip to main content
15,892,059 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Downloading multiple fils Pin
krishnaveer7-Jan-10 22:42
krishnaveer7-Jan-10 22:42 
AnswerRe: Downloading multiple fils Pin
carlecomm10-Jan-10 20:59
carlecomm10-Jan-10 20:59 
QuestionCrystal report does not expand according to data Pin
Thilina.madush7-Jan-10 19:27
Thilina.madush7-Jan-10 19:27 
QuestionHelp with web.config Pin
HarrisonB7-Jan-10 18:39
HarrisonB7-Jan-10 18:39 
AnswerRe: Help with web.config Pin
Dinesh Mani7-Jan-10 19:06
Dinesh Mani7-Jan-10 19:06 
GeneralRe: Help with web.config Pin
HarrisonB7-Jan-10 19:34
HarrisonB7-Jan-10 19:34 
GeneralRe: Help with web.config Pin
Dinesh Mani7-Jan-10 19:42
Dinesh Mani7-Jan-10 19:42 
QuestionASP.NET C# Accessing UI elements from controller Pin
xavier99997-Jan-10 15:32
xavier99997-Jan-10 15:32 
Hi guys,

I am new to the ASP.NET framework and was wondering if you could help me out a little bit please!

I am using the ASP.NET MVC framework. I have a controller file for home, HomeController.cs and a aspx file under the Home directory.

My question is - if I have an element (say a label) in my Index.aspx (under Home directory) file - is there a way to access it from the HomeController.cs file? I have seen a tutorial simply use the id of the element to access it - but this doesn't work for me.

Is there a proper way to access form elements (or elements in general) directly from the controller file?

<asp:Label id="lblMessage" Text=" " runat="server" />

lblMessage.Text = message;

Thank you very much for your help!

Xav.
AnswerRe: ASP.NET C# Accessing UI elements from controller Pin
Dinesh Mani7-Jan-10 17:59
Dinesh Mani7-Jan-10 17:59 
GeneralRe: ASP.NET C# Accessing UI elements from controller Pin
xavier99997-Jan-10 18:28
xavier99997-Jan-10 18:28 
AnswerRe: ASP.NET C# Accessing UI elements from controller Pin
kadaoui el mehdi10-Jan-10 2:46
kadaoui el mehdi10-Jan-10 2:46 
QuestionPlz Help if u detect Problem Pin
Pushkar Tripathi7-Jan-10 6:32
Pushkar Tripathi7-Jan-10 6:32 
AnswerRe: Plz Help if u detect Problem Pin
Dimitri Witkowski7-Jan-10 9:03
Dimitri Witkowski7-Jan-10 9:03 
GeneralRe: Plz Help if u detect Problem Pin
Dinesh Mani7-Jan-10 17:54
Dinesh Mani7-Jan-10 17:54 
GeneralRe: Plz Help if u detect Problem Pin
Vasudevan Deepak Kumar7-Jan-10 20:45
Vasudevan Deepak Kumar7-Jan-10 20:45 
AnswerRe: Plz Help if u detect Problem Pin
Vasudevan Deepak Kumar7-Jan-10 20:45
Vasudevan Deepak Kumar7-Jan-10 20:45 
Questionhow to convert existing word document to pdf in asp.net Pin
JC.KaNNaN7-Jan-10 2:44
JC.KaNNaN7-Jan-10 2:44 
AnswerRe: how to convert existing word document to pdf in asp.net Pin
SeMartens7-Jan-10 2:50
SeMartens7-Jan-10 2:50 
GeneralRe: how to convert existing word document to pdf in asp.net Pin
JC.KaNNaN7-Jan-10 19:37
JC.KaNNaN7-Jan-10 19:37 
GeneralRe: how to convert existing word document to pdf in asp.net Pin
Vasudevan Deepak Kumar7-Jan-10 20:48
Vasudevan Deepak Kumar7-Jan-10 20:48 
QuestionGet Control Value From GridView Pin
lrsalunkhe7-Jan-10 2:15
lrsalunkhe7-Jan-10 2:15 
AnswerRe: Get Control Value From GridView Pin
kadaoui el mehdi7-Jan-10 14:12
kadaoui el mehdi7-Jan-10 14:12 
AnswerRe: Get Control Value From GridView Pin
carlecomm10-Jan-10 20:59
carlecomm10-Jan-10 20:59 
QuestionError with deploying SSRS application... Pin
priyareguri7-Jan-10 1:13
priyareguri7-Jan-10 1:13 
Questionread a line and print the each words how many times it occurs using Generics Pin
Member 38798816-Jan-10 22:17
Member 38798816-Jan-10 22:17 

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.