Click here to Skip to main content
15,915,019 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMy code is not working while using with updatepanel.The ddl selected item it coming blank whiule printing before using update panel it was coming. Pin
ank065713-Oct-14 19:35
ank065713-Oct-14 19:35 
QuestionIs there a way to capture all the page records in jqgrid when exporting to excel Pin
parkway13-Oct-14 9:15
parkway13-Oct-14 9:15 
AnswerRe: Is there a way to capture all the page records in jqgrid when exporting to excel Pin
devvvy13-Oct-14 9:32
devvvy13-Oct-14 9:32 
QuestionRegarding Self hosting SignalR Application in Win Service Pin
Tridip Bhattacharjee13-Oct-14 5:20
professionalTridip Bhattacharjee13-Oct-14 5:20 
QuestionHow to embed a video in my c# based dot net website which should be compatible in all browsers especially chrome. Pin
Member 1107698013-Oct-14 1:15
Member 1107698013-Oct-14 1:15 
Questionasp.net web service error "Microsoft.Web.Services3.Security.SecurityFault: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message." Pin
rafay ansar12-Oct-14 10:32
rafay ansar12-Oct-14 10:32 
AnswerRe: asp.net web service error "Microsoft.Web.Services3.Security.SecurityFault: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message." Pin
jkirkerx12-Oct-14 11:48
professionaljkirkerx12-Oct-14 11:48 
QuestionHow to use JScript to get mouse position inside image? Pin
Troublesome Tommy10-Oct-14 10:19
Troublesome Tommy10-Oct-14 10:19 
AnswerRe: How to use JScript to get mouse position inside image? Pin
Troublesome Tommy11-Oct-14 6:57
Troublesome Tommy11-Oct-14 6:57 
QuestionSignalR - Jquery response - 304 error Pin
miss78610-Oct-14 4:28
miss78610-Oct-14 4:28 
QuestionHow to sms through asp.net website on mobile Pin
Harishankar Maurya9-Oct-14 19:21
Harishankar Maurya9-Oct-14 19:21 
AnswerRe: How to sms through asp.net website on mobile Pin
Mahinuddin11-Oct-14 1:53
Mahinuddin11-Oct-14 1:53 
QuestionGetting error while running Pin
Member 111411249-Oct-14 3:50
Member 111411249-Oct-14 3:50 
AnswerRe: Getting error while running Pin
Richard Deeming9-Oct-14 6:59
mveRichard Deeming9-Oct-14 6:59 
QuestionHow to maintain scroll position in chrome in Asp .Net Pin
Member 98439578-Oct-14 18:52
Member 98439578-Oct-14 18:52 
AnswerRe: How to maintain scroll position in chrome in Asp .Net Pin
Dominic Burford10-Oct-14 0:39
professionalDominic Burford10-Oct-14 0:39 
GeneralRe: How to maintain scroll position in chrome in Asp .Net Pin
Member 984395710-Oct-14 0:44
Member 984395710-Oct-14 0:44 
Questionregex replace with double quote Pin
jkirkerx8-Oct-14 13:30
professionaljkirkerx8-Oct-14 13:30 
AnswerRe: regex replace with double quote Pin
Richard Deeming9-Oct-14 1:47
mveRichard Deeming9-Oct-14 1:47 
GeneralRe: regex replace with double quote [EDIT] fixed my regex Pin
jkirkerx9-Oct-14 8:05
professionaljkirkerx9-Oct-14 8:05 
QuestionGreybox popup not show properly after postback Pin
Member 98439577-Oct-14 19:35
Member 98439577-Oct-14 19:35 
when the page loads first time, the links work as they should, opening in a Greybox popup(In the Academic Calendar).

Domain Name- http://cpsmau.com/


However, if I do a partial postback (go to september month) , the AJS Greybox functionality is lost and clicking on the link it show on other page not on graybox popup.

Can any one help me?

How do we re-initialize the AJS object on every asynchronous postback.

string script = @"window.addEvent('domready', function() { new AJS(); })";

ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), System.Guid.NewGuid().ToString(), script, true);

This script is not working.

My page code is.........

protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
{
DataTable dt = command.ExecuteQuery("SELECT sys_id,date, value,value3 FROM com WHERE branchCode=" + ddlSchool.SelectedValue);
if (dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
{
if (e.Day.Date.CompareTo(Convert.ToDateTime(dt.Rows[i]["date"].ToString())) == 0)
{
if (dt.Rows[i]["value3"].ToString() == "Holiday")
e.Cell.BackColor = System.Drawing.Color.DarkRed;
else
e.Cell.BackColor = System.Drawing.Color.Green;
e.Cell.ForeColor = System.Drawing.Color.LightYellow;

e.Cell.Controls.Clear();
e.Cell.Controls.Add(new LiteralControl("<a id='A1' href='../Common/HolidayAndEventsDetail.aspx?id=" + dt.Rows[i]["sys_id"].ToString() + "', onclick='return window.open(this.href, this.target);' rel='gb_page_center[500,400]' target='_blank' style='display:block;color:white;'>" + e.Day.DayNumberText + "</a>"));
e.Cell.ToolTip = dt.Rows[i]["value"].ToString();
}
}
}
}
QuestionPiro box add two iframe after asynchronous postback. Pin
Member 98439576-Oct-14 21:00
Member 98439576-Oct-14 21:00 
QuestionGray box not working after Asynchronus postback Pin
Member 98439576-Oct-14 20:54
Member 98439576-Oct-14 20:54 
QuestionButton click not trigger second time in jquery Modal popup Pin
dineshkanagaraj6-Oct-14 3:31
dineshkanagaraj6-Oct-14 3:31 
AnswerRe: Button click not trigger second time in jquery Modal popup Pin
jkirkerx6-Oct-14 11:46
professionaljkirkerx6-Oct-14 11:46 

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.