Loading...

RE: Difference when displaying ID on a list or a form.

RE: Difference when displaying ID on a list or a form.

#7386
Anonymous
Anonymous
Participant

Hi ,

n

Please try this  workaround:

n

1) add a Content Editor webpart after the qListForm. You can find this webpart in the Media and Content category.

n

2) edit the HTML Source of the Content Editor.

n

3) add the following script to the Content Editor. Click OK to save.

n

<script type="text/javascript">
var control = $telerik.$("span[id$='_ID_NumberControl']");
var val = control[0].innerHTML.replace(/,/g, "");
control[0].innerHTML=val;
</script>

n

4) Set the Chrome Type of the Content Editor to "None" to hide the webpart. Save the configuration.

n

Now the comma in the ID field should be removed.

n