.net - Telerik Rad Textboxes and javascript issue -


I'm just trying to fill the red text box with javascript server data. The data is kept inside the text box, but it is not visible until I click on the red text box.

  Function Pickemplate (name, spouse, plu, namebox, sbbox, pbox) {sBox.value = Sku; PBox.value = plu; NameBox.value = Name; $ ('MdlPopup') looks hidden () .; }  

I am sending parameters for a button click inside a gridview such as:

  button. a quality. Add ("OnClick", string.Format ("pickItem ('{0}', {1}, {2}, {3}, {4}, {5});", E. RO Seals [0] Text trim (), E.RO Seals [1], text. Rim (), E.O. seals [2] text, rim (), form veveccincent.fintcontrol ("prodbox") .callind id, form vivax Filt Control ("SBox"). ClientID, FormViewAccident.FindControl ("Pbox"). ClientID));  

Again, except for the fact that it does work, I have to click inside the text box. This works perfect if I use a regular ASP.NET text box which is incompatible with this project

Also make sure that the nameBox client is a reference to the RadTextBox object, not its DOM element (sign: $ use $ instead of the $ method).


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -