Click here to Skip to main content
15,899,313 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: The remote name could not be resolved Pin
Richard Deeming9-Aug-18 1:42
mveRichard Deeming9-Aug-18 1:42 
AnswerRe: The remote name could not be resolved Pin
Nathan Minier9-Aug-18 2:23
professionalNathan Minier9-Aug-18 2:23 
QuestionSetting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
indian1438-Aug-18 14:34
indian1438-Aug-18 14:34 
Hi all friends,

I have a textbox like below, I want call jquery function on its onblur or onkeyup or onfocus etc.

@Html.Kendo().TextBoxFor(model => model.Code).HtmlAttributes(new { autocomplete = "off", id = "idTxtForCodeLookupCode" })

when I set it as

$("#idTxtForCodeLookupCode").on('input', function ()
{
debugger;
SetLookupTableValue();
});
function SetLookupTableValue()
{
$("#txtLookupTableId").val($("#drpLookup").data("kendoDropDownList").value());
$("#txtLookupTableId").val();
}

The SetLookupTableValue() function is not being called. I don't know the reason, maybe because TextBox is in Popup and the functions are in the main page.
But I want to try it it works it I can set this onblur event or keyup or even onfocus events using HtmlAttributes, it might work.

Can anybody please help me how to set those events using HtmlAttributes property. Any help would be very helpful, thanks in advance.

Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."
AnswerRe: Setting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
jkirkerx13-Aug-18 8:10
professionaljkirkerx13-Aug-18 8:10 
GeneralRe: Setting onblur, onkeyup and onkeydown for @Html.Kendo().TextBoxFor using HtmlAttributes Pin
jkirkerx18-Aug-18 8:28
professionaljkirkerx18-Aug-18 8:28 
QuestionGetting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
indian1437-Aug-18 11:28
indian1437-Aug-18 11:28 
AnswerRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
Eric W Scott8-Aug-18 3:59
professionalEric W Scott8-Aug-18 3:59 
GeneralRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
indian1438-Aug-18 6:30
indian1438-Aug-18 6:30 
GeneralRe: Getting HiddenField value in GetValidators method of CustomModelValidatorProvider Pin
Eric W Scott9-Aug-18 4:16
professionalEric W Scott9-Aug-18 4:16 
QuestionHow to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 1:24
sudipta saha6-Aug-18 1:24 
AnswerRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
Richard Deeming6-Aug-18 2:21
mveRichard Deeming6-Aug-18 2:21 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 22:31
sudipta saha6-Aug-18 22:31 
AnswerRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
dan!sh 6-Aug-18 2:41
professional dan!sh 6-Aug-18 2:41 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 22:24
sudipta saha6-Aug-18 22:24 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
dan!sh 6-Aug-18 22:28
professional dan!sh 6-Aug-18 22:28 
GeneralRe: How to solve HTTP Error 403.14 - Forbidden error in web service project Pin
sudipta saha6-Aug-18 22:59
sudipta saha6-Aug-18 22:59 
Questionjquery ajax Pin
Member 139369243-Aug-18 2:57
Member 139369243-Aug-18 2:57 
AnswerRe: jquery ajax Pin
dan!sh 3-Aug-18 3:31
professional dan!sh 3-Aug-18 3:31 
GeneralRe: jquery ajax Pin
Member 139369243-Aug-18 4:33
Member 139369243-Aug-18 4:33 
GeneralRe: jquery ajax Pin
Richard Deeming3-Aug-18 4:39
mveRichard Deeming3-Aug-18 4:39 
QuestionWant to prevent button posting the Data for add or Update Pin
indian1432-Aug-18 14:11
indian1432-Aug-18 14:11 
AnswerRe: Want to prevent button posting the Data for add or Update Pin
Vincent Maverick Durano2-Aug-18 19:01
professionalVincent Maverick Durano2-Aug-18 19:01 
GeneralRe: Want to prevent button posting the Data for add or Update Pin
indian1433-Aug-18 6:06
indian1433-Aug-18 6:06 
GeneralRe: Want to prevent button posting the Data for add or Update Pin
Vincent Maverick Durano3-Aug-18 6:17
professionalVincent Maverick Durano3-Aug-18 6:17 
AnswerRe: Want to prevent button posting the Data for add or Update Pin
dan!sh 3-Aug-18 1:57
professional dan!sh 3-Aug-18 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.