TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
selvi subramanian
NA
799
574.5k
i need to throw error and at a time i need to show
Sep 21 2012 6:42 AM
i need to throw error and at a time i need to show another view (use multiview) my code is
but it throw error at time it never go to view2.
i never enter any thing in textbox it shows error but i need the value and i select in dropdown as new and i need to show the view
i need both at a time
onindexchange
protected void ddlprojectname_SelectedIndexChanged(object sender, EventArgs e)
{
//ddlprojectname.Attributes.Add("OnClick", "return sss()");
MultiView1.Visible = true;
MultiView1.SetActiveView(View2);
}
source code
validation code
function sss()
{
var sure=document.getElementById("ctl00_ContentPlaceHolder1_TextBox8").value;
if(sure=="")
{
alert("Enter Suresh");
document.getElementById('ctl00_ContentPlaceHolder1_TextBox8').focus();
return false;
}
}
Reply
Answers (
0
)
Running sql on different servers
Steps involved to fill a DataSet