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
Kavitha M
NA
10
2.8k
Pass multiple values- Query string - Javascript
May 23 2014 2:17 AM
Hi friends,
I have 2 values in 'A' page as below
string OppNumber = DataBinder.Eval(e.Row.DataItem, "OpportunityID").ToString();
string LeadNo = DataBinder.Eval(e.Row.DataItem, "Lead_no").ToString();
Now, I want to pass them to 'B' page in query string so I put the following code in 'A' page
HyperLink h5 = e.Row.FindControl("HypShowAllActivities") as HyperLink;
h5.Attributes.Add("OnClick", "fnDispAllActivities('" + OppNumber + ' ' + LeadNo + "')");
In design page of 'A' i added the following code
function fnDispAllActivities(OppNumber,LeadNo)
{
window.open('B.aspx?DocNo=' + OppNumber + '&LeadNo=' + LeadNo + '&Number=&ID=&Row=New', '', '', 'toolbars=0,resizable=1,scrollbars=0,width=800,height=600,top=0,left=0');
}
My requirement is to retrive the oppnumber,leadno seperately in 'B' page. Now,I can't get it them as seperatly,
But i have mistakes here.Can you Please help me to solve this?
Reply
Answers (
8
)
Asp.net Mvc Scaffolding
Count(*) for Dynamic Search Query