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
narasiman rao
NA
519
768.9k
how to fetch html id value in code behind c# page.
Sep 15 2016 3:54 AM
My code as follows
<div class="dropdownparent" style="float: left; width: 250px; height: 25px;">
<select id="ms" runat="server" multiple="mutiple"
style="float: left; width: 250px;" class="ms" title="Select Project">
</select>
protected void ImgbtnExcelClick(object sender, ImageClickEventArgs e)
{
string projectid = this.ms.Value;
}
But when i run the above code shows error as follows
Cannot create an object of type 'System.Boolean' from its string representation 'multiple' for the 'Multiple' property.
The above error comes because this below line
<select id="ms" runat="server" multiple="mutiple"
style="float: left; width: 250px;" class="ms" title="Select Project">
</select>
The error comes because of multiple = "mutiple"
please help me . how to solve my error
Reply
Answers (
1
)
how to get html value into c# page
Undo and Redo Functionality in DataGridView Window Form App.