16,022,297 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 .NET 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 Sandhya Lovely (Top 19 by date)
Sandhya Lovely
25-Apr-12 4:26am
View
am unable to open that, its VS 2010 BUT AM USING VS 2008. please help
Sandhya Lovely
25-Apr-12 3:40am
View
chk email
Sandhya Lovely
25-Apr-12 3:24am
View
ok, i.ll send it
Sandhya Lovely
25-Apr-12 3:18am
View
I did it same, But the dropdown and gridview are displaying double
Sandhya Lovely
25-Apr-12 3:11am
View
ok, from where to start and end update panel, I have dropdown and gridview.
Sandhya Lovely
25-Apr-12 2:59am
View
can i used scriptmanager and update panel after using this code.
Sandhya Lovely
25-Apr-12 2:58am
View
where should i start and close the update panel
Sandhya Lovely
25-Apr-12 2:57am
View
This is my design page.
<div><asp:ScriptManager ID="ScriptManager" runat="server">
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
Height="20px" Width="160px"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem Value="0">--------- Select ---------
<asp:ListItem>Sort By Airline
<asp:ListItem>Sort By Date
<asp:ListItem>Display All
<asp:ListItem>Expires
<asp:ListItem>Active
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="300" align="center" valign="top"><table align="center">
<tr>
<td>
<table class="style3" align="center" bgcolor="White">
<tr>
<td class="style7">
Search </td>
<td class="style5">
<asp:TextBox ID="TxtSearch" runat="server" Width="600px"
style="text-align: left">
</td>
<td class="style8">
<asp:Button ID="BtnSearch" runat="server" Text="Go" Width="30px"
BackColor="#E2BA20" ForeColor="White" onclick="BtnSearch_Click" />
</td>
</tr>
</table>
<table class="style1">
<tr>
<td class="style4">
</td>
<td>
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Users/PrintAllReport.aspx">Print Report
</td>
</tr>
</table>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" CellPadding="3"
ForeColor="Black" PageSize="15"
CssClass="red" HorizontalAlign="Center" Width="1100px"
BackColor="LightGoldenrodYellow" CellSpacing="2" BorderColor="Tan"
BorderWidth="1px" onpageindexchanging="GridView1_PageIndexChanging"
onselectedindexchanged="GridView1_SelectedIndexChanged"
onrowdatabound="GridView1_RowDataBound" ShowFooter="True">
<alternatingrowstyle backcolor="PaleGoldenrod">
<PagerSettings Mode="NumericFirstLast" FirstPageText="First"
LastPageText="Last" PageButtonCount="5" />
<columns>
<asp:CommandField ShowSelectButton="True" />
<footerstyle backcolor="Tan">
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" CssClass="gridViewPager" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
Sandhya Lovely
25-Apr-12 2:41am
View
see anuj, i used Script manager updatepanel content template open and closed succesfully these tags..BUT the thing here is when i select item from dropdown PAGE IS NOT REFRESHING its good....BUT am unable to display the selected records from dropdown....please help me.
Sandhya Lovely
25-Apr-12 2:37am
View
please can u suggest me, am trying from 3 days.
Sandhya Lovely
25-Apr-12 2:36am
View
i have tags, but tags doesnt shows u, when i posted u.
Sandhya Lovely
25-Apr-12 2:32am
View
Hello Anuj, can we use like this
if(page.ispostback==false)
{
Gridview1.DataBind();
}
Sandhya Lovely
25-Apr-12 2:30am
View
<div><asp:ScriptManager ID="ScriptManager" runat="server">
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<asp:DropDownList ID="DropDownList1" runat="server"
Height="20px" Width="160px"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem Value="0">--------- Select ---------
<asp:ListItem>Sort By Airline
<asp:ListItem>Sort By Date
<asp:ListItem>Display All
<asp:ListItem>Expires
<asp:ListItem>Active
Sandhya Lovely
25-Apr-12 2:27am
View
I have tried this, but am unable to displa the selected items from dropdown.
and also gave postback to true
Sandhya Lovely
25-Apr-12 2:15am
View
how, please can u suggest me ? and give me code for that, am Beginner to development.
Sandhya Lovely
24-Apr-12 5:42am
View
Sir, Iam Unable to Understand. Please please can u post me the Design and code pages.
Sandhya Lovely
24-Apr-12 5:41am
View
Sir, Iam Unable to Understand. Please please can u post me the Design and code pages.
Sandhya Lovely
24-Apr-12 5:41am
View
Sir, Iam Unable to Understand. Please please can u post me the Design and code pages.
Sandhya Lovely
24-Apr-12 5:21am
View
Sir,ur code is SELECT * FROM Persons
WHERE City LIKE 'TextBox.Text'
BUT I have Many Columns to search as......First Name, LastName,UserName, Country
and how to search all this ? please answer me
Show More