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
nitin yadav
NA
136
0
Repeater under div tag
Aug 10 2011 3:20 AM
Hi,
i have one repeater control under div tag like
<div id="divOuter" runat="server">
repeater control
</div>
repeater control is bind on page load. Now i want this repeater data to be send to other page using json.so how can i pick this repaeter control data pls tell me how to do this.
i tried like this
JavaScriptSerializer js = new JavaScriptSerializer();
StringBuilder sb = new StringBuilder();
sb.Append(divOuter.InnerHtml);
string json = js.Serialize(sb);
return json;
it give me this error :
Cannot get inner content of divOuter because the contents are not literal.
pls help me out.thanks
Reply
Answers (
2
)
How to press space bar key programatically
Retrieve Repeater's HTML