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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
K P Singh ChundawatRank #1,527 · 1K reputationPosted Jan 10, 2015, 7:25 AM EST
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
Chinna NethaRank #5,573 · 294 reputationPosted Jan 10, 2015, 7:41 AM EST
i want data base side