Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8544753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:38:11+00:00 2026-06-11T12:38:11+00:00

how to assign value directly to kendo data-bind here is the code <script type=text/x-kendo-template

  • 0

how to assign value directly to kendo data-bind

here is the code

<script type="text/x-kendo-template" id="add-new-user-template">
<li>
    <a class="user-result">
        <span class="row-name">Create New User</span>
        <br/>
        <input type="hidden" class="hf-user-role-id" data-bind="value: 0"/>
        <input type="hidden" class="row-party-id" data-bind="value: "/>
            </a>
</li>
</script>

hav to set first input field value to 0 and second to empty string

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:38:12+00:00Added an answer on June 11, 2026 at 12:38 pm

    Ok, I don’t really know if I understood what you try to achieve, but if you want to set static values, why not just doing <input type="hidden" name="user-id" value="0" class="hf-user-role-id" /> since there is (in my opinion) no sense of binding static values.
    The data-bind attribute needs a variable or some JSON to be bound to not a static value.

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can we assign null value to struct type of variable? struct MyStruct { }
is it possible to assign a value to a ServerVariable(Something) using the code? instead
Let's say we have a XAML code like this: <Style TargetType={x:Type ListBoxItem}> <Setter Property=Template>
can we assign a data column value to a variable and use this variable
It is not possible to assign an integer value to a reference variable directly,
In an asynchronous OnMsgRecieved call, if I assign a value directly to a control
I have been trying to assign value to an object array that is defined
To assign specific value to 1D array I'm using LINQ like so: int[] nums
I want to assign a value from a select box to an input field
how can I assign a value to the 'extraParams' property of the following plugin

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.