Click here to Skip to main content
15,891,951 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: editor Pin
Christian Graus12-Feb-09 21:25
protectorChristian Graus12-Feb-09 21:25 
GeneralRe: editor Pin
anujbanka178412-Feb-09 22:28
anujbanka178412-Feb-09 22:28 
QuestionEditing on PDF [modified] Pin
NidhiKanu12-Feb-09 20:26
professionalNidhiKanu12-Feb-09 20:26 
AnswerRe: Editing on PDF Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:37
professionalVimalsoft(Pty) Ltd12-Feb-09 20:37 
AnswerRe: Editing on PDF Pin
Christian Graus12-Feb-09 20:37
protectorChristian Graus12-Feb-09 20:37 
QuestionGetting path from a datagrid link button [modified] Pin
rakeshs31212-Feb-09 20:15
rakeshs31212-Feb-09 20:15 
AnswerRe: Getting path from a datagrid link button Pin
Satish Mahapatra12-Feb-09 21:00
Satish Mahapatra12-Feb-09 21:00 
QuestionValidator's across Content Place Holders Pin
mombawomba12-Feb-09 20:10
mombawomba12-Feb-09 20:10 
I'm currently working on a page that has two ContentPlaceHolder areas:

<asp:Content ID="Content1" ContentPlaceHolderID="StepsContentPlaceHolder" Runat="Server">
    <a href="...">Choose your item</a>
    <asp:CompareValidator ID="Validator" runat="server" ErrorMessage="*" 
    Operator="NotEqual" Type="Integer" ValueToCompare="-1" ControlToValidate="PickMe"/>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">
    <MyControls:PickSomething ID="PickMe" runat="server"/>
</asp:Content>


The idea here is that the user can choose an option using the PickSomething control in the Content2 ContentPlaceHolder and if the selection is invalid the Validator in the Content1 ContentPlaceHolder will display the error message.

My question is how to get the Validator to in Content1 connected to the control in Content2. When I run this I get an "Unable to find control id" exception.

I've looked on the web for a solution but haven't run across anything helpful. Can somebody point me in the right direction?

Thanks in advance.
QuestionUPLOAD IMAGE Pin
JAYRAJ GIRI12-Feb-09 19:37
JAYRAJ GIRI12-Feb-09 19:37 
AnswerRe: UPLOAD IMAGE Pin
VijayVishwakarma12-Feb-09 20:07
VijayVishwakarma12-Feb-09 20:07 
QuestionEncrypt data from database Pin
Guvera12-Feb-09 19:23
Guvera12-Feb-09 19:23 
AnswerRe: Encrypt data from database Pin
ABitSmart12-Feb-09 20:47
ABitSmart12-Feb-09 20:47 
GeneralRe: Encrypt data from database Pin
Guvera12-Feb-09 21:20
Guvera12-Feb-09 21:20 
GeneralRe: Encrypt data from database Pin
ABitSmart12-Feb-09 21:29
ABitSmart12-Feb-09 21:29 
QuestionTree view control Pin
anandhakrishnan12-Feb-09 19:04
anandhakrishnan12-Feb-09 19:04 
AnswerRe: Tree view control Pin
VijayVishwakarma12-Feb-09 19:22
VijayVishwakarma12-Feb-09 19:22 
Questiondrag and drop Pin
248912812-Feb-09 18:57
248912812-Feb-09 18:57 
AnswerRe: drag and drop Pin
Calin Tatar13-Feb-09 1:20
Calin Tatar13-Feb-09 1:20 
QuestionFtp Directory and Webserver director in Same Folder Pin
Radhakrishnan G.12-Feb-09 18:37
Radhakrishnan G.12-Feb-09 18:37 
QuestionConfiguration Error Pin
MS Lee12-Feb-09 18:30
MS Lee12-Feb-09 18:30 
AnswerRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 19:50
professionalVimalsoft(Pty) Ltd12-Feb-09 19:50 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:01
MS Lee12-Feb-09 20:01 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:15
professionalVimalsoft(Pty) Ltd12-Feb-09 20:15 
GeneralRe: Configuration Error Pin
MS Lee12-Feb-09 20:21
MS Lee12-Feb-09 20:21 
GeneralRe: Configuration Error Pin
Vimalsoft(Pty) Ltd12-Feb-09 20:32
professionalVimalsoft(Pty) Ltd12-Feb-09 20:32 

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.