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
Nandha Kumar Nagarajan
NA
284
57.2k
hide and view in server side using selected index changed
Apr 13 2019 5:26 AM
hi friends
im created client side table to call the server side using ddlbox changed events its not hide
This is my ddlbox event::
protected void ddl_rectfication_type_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddl_rectfication_type.SelectedItem.Text == "PRE" || ddl_rectfication_type.SelectedItem.Text == "FTS")
{
pres.Visible = true;
shift.Visible = false;
}
if (ddl_rectfication_type.SelectedItem.Text == "CWS")
{
pres.Visible = false;
shift.Visible = true;
}
first table :::
<table id="shift" runat="server">
<tr>
<td> <asp:Label ID="lbl_shift" runat="server">Shift Timing</asp:Label></td>
<td> <asp:DropDownList ID="ddl_shift" AutoPostBack="true" runat="server"></asp:DropDownList></td>
</tr>
</table>
second table ::
<table id="pres" runat="server">
<tr>
<td class="auto-style3"> <asp:Label ID="lbl_present_In_time" runat="server">Present IN Time</asp:Label></td>
Reply
Answers (
1
)
In 3-tier architecture, populate textboxes from database
can we generate gridview dynamically from label value ?