how to write shortcut key in asp.net?
for example "^"... when press on key automatically generate html tag
using data base
plz help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Chinna NethaPosted Jan 10, 2015, 12:41 PM
i want data base side
K P Singh ChundawatPosted Jan 10, 2015, 12:25 PM
I think you should use jquery for it. Please find the key code of "^". and then make call using Jquery-Ajax for database operation ...for example :-
$(window).keydown(function(e) {
if(e.keyCode==keycode value of "^")
{
e.preventDefault()
///then Make here jqury Ajax request and note that your CS method Should be WEBMETHOD.
$.ajax({url:"your app url with method name ",success:function(result){
}});
}
});
.............................................................................................................................................
if this post is helpful for you then please dont forget to mark it as "Accepted Answer".
Thanks
KP Singh Chundawat