15,906,567 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sajad Taheri (Top 5 by date)
Sajad Taheri
26-May-14 13:22pm
View
smruti,I get value of textbox using js in Master page by this code:
<head>
<script type="text/javascript">
function basicPopup() {
var text = document.getElementById('text1').value;
var url = "search.aspx?search=" +text;
popupWindow = window.open(url, 'popUpWindow');
}
</script>
</head>
<body>
<div style="margin-removed 5px; float: left">
<form name="searchform" method="get" class="searchform">
<input type="hidden" name="do" value="search" />
<input type="hidden" name="subaction" value="search" />
<input name="story" id="story" type="text" />
<button type="submit" önclick="basicPopup()">search</button>
</form>
</body>
now when for example search "smruti" in search box in master page,my browser redirect to this address in search.aspx page:
http://localhost:2391/search.aspx?search=smruti
i get get the value of text using javascript...now how bind grid view and text(top url)?!
(As I said before search.aspx page works fine separate)
Sajad Taheri
26-May-14 11:01am
View
No i use java/jquery only in gallery slide show(light box)and change background text box...
Sajad Taheri
26-May-14 6:17am
View
i don't have code behind in master page(i use html tags). where i insert this code:
Response.Redirect("~/SearchResult.aspx?name=smruti");
how i can Put the search criteria into query string?
how i can bind the grid view with the result data?
this is my grid view in search.aspx page:
http://8pic.ir/images/24063714045552871721.jpg
I apologize smruti,im so beginner...TNX
Sajad Taheri
26-May-14 2:48am
View
thanks my friend,please give me code of your 3steps(prefer by query string)
Sajad Taheri
25-May-14 18:00pm
View
thanks.I improved my question...