This is a migrated thread and some comments may be shown as answers.
WebForms Application
1 Answer 14 Views
This is a migrated thread and some comments may be shown as answers.
Bill O'Neil
Top achievements
Rank 1
Bill O'Neil asked on 04 Dec 2013, 06:42 PM
I have a pre-existing webforms .NET project that would benefit from KendoUI mobile for some dedicated mobile functionality.  I can get it functioning - and primarily utilize client side functions - but on the rare occasion when I need to use a server control - I'm encountering odd errors.

If I place a server control (like a link button) in a Kendo UI Mobile widget - I get an error when trying to postback.

<ul data-role="listview">
 <li><asp:LinkButton runat="server" ID="l" CommandName="db" CommandArgument='1' Text='Test'></asp:LinkButton></li>
 <li><asp:LinkButton runat="server" ID="l" CommandName="db" CommandArgument='1' Text='Test'></asp:LinkButton></li>
 <li><asp:LinkButton runat="server" ID="l" CommandName="db" CommandArgument='1' Text='Test'></asp:LinkButton></li>
 </ul>

It renders fine - a scrollable view of active list items - but any click/touch results in as js error:
Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: __doPostBack

Any way to work around this?

1 Answer, 1 is accepted

Sort by
0
Bill O'Neil
Top achievements
Rank 1
answered on 05 Dec 2013, 12:02 AM
It looks like adding:

data-rel="external"

to the linkbutton resolves this.
Asked by
Bill O'Neil
Top achievements
Rank 1
Answers by
Bill O'Neil
Top achievements
Rank 1
Share this question
or