Click here to Skip to main content
15,911,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Built in authentication Pin
joginder-banger6-Feb-14 4:27
professionaljoginder-banger6-Feb-14 4:27 
QuestionASP.NET MVC Web API - filter query with pagesize Pin
miss7865-Feb-14 22:39
miss7865-Feb-14 22:39 
AnswerRe: filter query with pagesize Pin
Ali Al Omairi(Abu AlHassan)6-Feb-14 1:55
professionalAli Al Omairi(Abu AlHassan)6-Feb-14 1:55 
GeneralRe: filter query with pagesize Pin
miss7866-Feb-14 23:27
miss7866-Feb-14 23:27 
GeneralRe: filter query with pagesize Pin
Ali Al Omairi(Abu AlHassan)7-Feb-14 11:25
professionalAli Al Omairi(Abu AlHassan)7-Feb-14 11:25 
GeneralRe: filter query with pagesize Pin
miss78610-Feb-14 0:37
miss78610-Feb-14 0:37 
QuestionTelerik grid vs. Kendo grid and Ajax calls Pin
littleGreenDude5-Feb-14 8:36
littleGreenDude5-Feb-14 8:36 
AnswerRe: Telerik grid vs. Kendo grid and Ajax calls Pin
littleGreenDude7-Feb-14 3:10
littleGreenDude7-Feb-14 3:10 
Posting my findings in case somebody runs on to a similar issue, maybe it will be helpful (plus the code to set the select elements in the cloned div is cool Cool | :cool: ).

I've worked around the issue. Something about the first line of javascript in our printer friendly function causes the Ajax call to occur with the Kendo grid where it didn't cause it with the original Telerik grid. Changed javascript function to use jQuery clone and things are working now.

Old code:
JavaScript
function ShowPrinterFriendly() {
    $("#printerFriendlyContent").html($("#mainContent").html());

New code:
JavaScript
function ShowPrinterFriendly() {

var $originalDiv = $("#mainContent");
var $clonedDiv = $originalDiv.clone();

//get original selects
var $originalSelects = $originalDiv.find("select");

//for all cloned selection objects
$clonedDiv.find("select").each(function(index, item) {
//set new select to value of old select
$(item).val($originalSelects.eq(index).val());
});
$clonedDiv.appendTo("#printerFriendlyContent");

QuestionRDLC Report Designing Pin
Dnyaneshwar@Pune5-Feb-14 0:48
Dnyaneshwar@Pune5-Feb-14 0:48 
SuggestionRe: RDLC Report Designing Pin
Zohaib Asad11-Feb-14 21:13
Zohaib Asad11-Feb-14 21:13 
QuestionQuestion Event does not run when I click image that has event attached to it Pin
versm1ca4-Feb-14 22:21
versm1ca4-Feb-14 22:21 
AnswerRe: Question Event does not run when I click image that has event attached to it Pin
Deflinek5-Feb-14 0:48
Deflinek5-Feb-14 0:48 
GeneralRe: Question Event does not run when I click image that has event attached to it Pin
versm1ca5-Feb-14 7:19
versm1ca5-Feb-14 7:19 
GeneralRe: Question Event does not run when I click image that has event attached to it Pin
Richard Deeming5-Feb-14 8:15
mveRichard Deeming5-Feb-14 8:15 
GeneralCLOSED --- Re: Question Event does not run when I click image that has event attached to it Pin
versm1ca5-Feb-14 14:00
versm1ca5-Feb-14 14:00 
Questionradiobuttonlist change event with javascript Pin
ptvce4-Feb-14 1:21
ptvce4-Feb-14 1:21 
QuestionFlash Banner in Mobile asp.net Pin
Fcode-20143-Feb-14 21:28
Fcode-20143-Feb-14 21:28 
QuestionIf else structure problem Pin
Hunain Hafeez3-Feb-14 18:44
Hunain Hafeez3-Feb-14 18:44 
AnswerRe: If else structure problem Pin
Kornfeld Eliyahu Peter3-Feb-14 20:17
professionalKornfeld Eliyahu Peter3-Feb-14 20:17 
QuestionRetry on duplicate keys ex Pin
byka3-Feb-14 6:50
byka3-Feb-14 6:50 
AnswerRe: Retry on duplicate keys ex Pin
Kornfeld Eliyahu Peter3-Feb-14 9:52
professionalKornfeld Eliyahu Peter3-Feb-14 9:52 
QuestionASP.Net Best Practices Pin
DotnetCoders0012-Feb-14 5:10
DotnetCoders0012-Feb-14 5:10 
AnswerRe: ASP.Net Best Practices Pin
Snehasish_Nandy2-Feb-14 19:12
professionalSnehasish_Nandy2-Feb-14 19:12 
GeneralRe: ASP.Net Best Practices Pin
Richard MacCutchan2-Feb-14 22:00
mveRichard MacCutchan2-Feb-14 22:00 
AnswerRe: ASP.Net Best Practices Pin
thatraja2-Feb-14 20:35
professionalthatraja2-Feb-14 20:35 

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.