Skip to content

Using ASP.Net/Bootstrap 3 with data-validation-help #342

Closed
@robertj98

Description

@robertj98

I am using a form in ASP.NET 4.0 and Bootstrap 3

For a field declared in ASP.NET as

TextBox ID="txtCM60SEQNO" clientIDMode="static" cssclass="form-control val-integer "
data-validation="number"
data-validation-allowing="range[1;1000]"
data-validation-help="Please give us some more information"
data-validation-error-msg="You did not enter a valid sequence"
name="txtCM60SEQNO"

When I add the data-validation-help="Please give us some more information" attribute, it fails with

Error: Syntax error, unrecognized expression: .jquery_form_help_ctl00$contentColumns$content_glencom_newsticker$txtCM60SEQNO

In the generated HTML, the textbox is rendered as

Is this something to do with the name= attribute generated by ASP.NET conflicting with the plugin?

Robert

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions