I am using telerik controls(Rad window) with asp.net controls in my project, If session expires and I click on a button which will open a rad window Instead of main logout or session expire It shows session expire message inside the rad window, but I need session should expire on main page rather than inside the rad window.
Mansi Arora
Posts
-
Session Expire -
Nested gridview problemI have nested gridview I want to perform edit and delete in child gridview and on parent gridview I want to add textbox abd button in footer template but I am unable to view footer template
-
On server master page is not runningInstead of calling master page, XYZ.aspx page is showing Collapse <%@ Page Language="C#" MasterPageFile="~/Master1.master" Title="abc" %> and not showing master page contents. Moreover, on running localhost masterpages and .aspx pages are not showing any problem and easily master page contents are accessible by webform
-
Display a tableI have created a dynamic table and i one of its td I want to give link for another table which is actually a html table created on aspx page. for (int i = 0; i < dt.Rows.Count; i++) { TableRow trRow = new TableRow(); TableCell tdCell = new TableCell(); TableCell tdCell1 = new TableCell(); string user = dt.Rows[i]["username"].ToString(); tdCell.Text += "<td align='left'><a href='#' class='descriptiontext'>'" + dt.Rows[i]["username"].ToString() + "'</a></td>"; tdCell1.Text += "<td align='left'>'" + dt.Rows[0]["reason"].ToString() + "'</td>" ; trRow.Controls.Add(tdCell); trRow.Controls.Add(tdCell1); RecipientTable.Controls.Add(trRow); } plcUserMessage.Controls.Add(RecipientTable); } } public void FetchSenderMessage(string UserName) { string strSwapEmp, strSwapDate, strSwapReason; DataTable dt = monthdetail.MessageFromEmp(UserName); pnlRequestApproval.GroupingText = dt.Rows[0]["username"].ToString(); pnlRequestApproval.Controls.Add(tblAdmin); strSwapEmp = dt.Rows[0]["swap_candidate"].ToString(); strSwapReason = dt.Rows[0]["swap_reason"].ToString(); strSwapDate = dt.Rows[0]["swapping_date"].ToString(); lblDate.Text = strSwapDate; ddlUser.Text = strSwapEmp; txtUReason.Text = strSwapReason; } I want to call FetchSenderMessage(user) function on anchor tag hreference
-
Two Calendar ControlsI have two calendar controls on same page,if month selection on title bar of calendar is changed on one calendar second calendar's month automatically get changed
-
How to change cell text colour of dynamically populated gridview from database in C#protected void gvEmpCal_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { CheckBox ckh = e.Row.Cells[0].Controls.Add(0); if (ckh.Checked = false) { e.Row.BackColor = System.Drawing.Color.LightYellow; e.Row.Cells[0].ForeColor = System.Drawing.Color.Red; } } } Actually I need that gridview cells that contains "off" should appear in red colour. Presently On and Off are in same colour.
-
How to change cell text colour of dynamically populated gridview from database in C#Its not working I have tried, moreover I need C# code. Please Help
-
How to change cell text colour of dynamically populated gridview from database in C#I have populated a dynamic grid view from database with Cell text as ON and OFF. I want that off text should appear in "Red" Colour. Grid rows are generated as no.of employees and columns are days in a particular month from database.
-
How to Read ID and Value of dynamic buttons on submit button clickI have created a dynamic table with dynamic buttons for company roster according to the no of days in a month, like a company has 5 employees in month of june, i.e table has 150 buttons and on click of every button text appears "OFF" and i want to read that button ID and Value on submit at server side to save button id in database