I have a problem with pop windows. When I Open Pop up page, do actions on that and go back to parent page. In Parent page if user click on logout or if session expired,how to close pop up windows.
SatyaKeerthi15
Posts
-
Close Pop Up windows -
Find Gridview Footer RowI have to Find Gridview Footer Row in Javascript. Is there any chance to show/hide footer row in javascript. How to Find Label in Footer Row.
-
Find Label in Gridview Footer Row in javascriptI have to Find Gridview Footer Row in Javascript. Is there any chance to show/hide footer row in javascript. How to Find Label in Footer Row.
-
Add New Row dynamically to GridviewIf I search with the keyword "asp .net gridview add new row" in google, Controls which we design in the Gridview get added but I want to add text box for New row and Labels for existing data. Hope nobody post here with out browsing in the web. Mind your language.
-
Add New Row dynamically to GridviewI have Gridview with Label controls. When I click on linkbutton on top of the grid new row with Textbox control to be added to the Gridview. How can I get this.
-
Print numbersI have to call function to print numbers. For Example if I pass 5 as parameter function has to return 1 2 3 4 5 Is declaring Temp table and Get this result is good way? Is there any alternate
-
Enable/Disable LinkButton in JavascriptIf Set href and click on link button again its loading page. Is it the good way to load page agian when click on linkbutton in same page.
-
Enable/Disable LinkButton in JavascriptYes I tried it like below, document.getElementById(lkbtn).removeAttribute("href"); This works fine. But when i am adding attribute it raises error. document.getElementById(lkbtnEditMap).addAttribute("href"); So i did like this document.getElementById(lkbtnEditMap).setAttribute("href"); enable/disable works fine but when click on link button it showing error like resource cannot be found....
-
Enable/Disable LinkButton in JavascriptI want to disable a LinkButton click on the client site. if(true) objLinkButton.disabled = true; else objLinkButton.disabled = false; This disables the link but I am still able to click on the link and do PostBack. Is there any way I can disable/enable the link.
-
TextI aasigned Text to the Textbox from code behind like "Showing "+Test+" message ..."; Its not displaying Test in bold.How can I do this
-
Textbox TextI aasigned Text to the Textbox from code behind like "Showing "+Test+" message ..."; Its not displaying Test in bold.How can I do this
-
Checkbox List Item ValueI have CheckBoxList. I am binding data to checkbox List from DataBase. How can I Get Listitem value using Javascript.
-
Close iframe Div in javascriptButton is in one 2.aspx page and frame in 1.apsx. How can I Close frame in 1.aspx from 2.aspx. My subject itself mentioned close frame in javascript not in c#.
-
Close iframe Div in javascriptI have an aspx page. In that page I am displaying div when click on link. Div contains iframe and i am assigning url to the frame like below. // Function to Show the Div // function ShowDiv(CtrlName) { document.getElementById('divUserCtrl').style.display = 'inline'; frames['ifrm'].window.location = "CreateProject.aspx?ProjCat=G"; return false; } when click on linkbutton can able to display div and redircting to CreateProject page. But in CreateProject when click on a button i need to close this div. How can I do this in c#. I tried like Page.RegisterStartupScript("Reload", "window.close();"); But no luck :(
-
Close iframe in DivI have an aspx page. In that page I am displaying div when click on link. Div contains iframe and i am assigning url to the frame like below.
// Function to Show the Div // function ShowDiv(CtrlName) { document.getElementById('divUserCtrl').style.display = 'inline'; frames['ifrm'].window.location = "CreateProject.aspx?ProjCat=G"; return false; } when click on linkbutton can able to display div and redircting to CreateProject page. But in CreateProject when click on a button i need to close this div. How can I do this in c#. I tried like Page.RegisterStartupScript("Reload", "window.close();"); But no luck :(
-
Get hirarchy queryI did that ... As everytime sp excutes output displays like multiple tables but not in one table
-
Bind sql print statement to dropdownI have print statement in Sql Sp. How can I bind print statement to DropdownList
-
Get hirarchy queryThis is the sp I have tried. I am getting what I want but in print statement. How to convert it into Table. ALTER PROC [dbo].[spa_R_TeamDetails] @ReportsTo INT AS BEGIN SET NOCOUNT ON DECLARE @PersonId INT, @DisplayName VARCHAR(100) SET @DisplayName = (SELECT DisplayName+'~'+CONVERT(VARCHAR,PersonId)+'~'+OrgEmpId TeamMembers FROM Person WHERE PersonID = @ReportsTo) PRINT REPLICATE('- ', (@@NESTLEVEL * 1)-1) + @DisplayName SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo) WHILE @PersonId IS NOT NULL BEGIN EXEC spa_R_TeamDetails @PersonId SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo AND PersonId > @PersonId) END END -- spa_R_TeamDetails 1781
-
Get hirarchy queryThis is the sp I have tried. I am getting what I want but in print statement. How to convert it into Table. ALTER PROC [dbo].[spa_R_TeamDetails] @ReportsTo INT AS BEGIN SET NOCOUNT ON DECLARE @PersonId INT, @DisplayName VARCHAR(100) SET @DisplayName = (SELECT DisplayName+'~'+CONVERT(VARCHAR,PersonId)+'~'+OrgEmpId TeamMembers FROM Person WHERE PersonID = @ReportsTo) PRINT REPLICATE('- ', (@@NESTLEVEL * 1)-1) + @DisplayName SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo) WHILE @PersonId IS NOT NULL BEGIN EXEC spa_R_TeamDetails @PersonId SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo AND PersonId > @PersonId) END END -- spa_R_TeamDetails 1781
-
Get hirarchy queryI tried below stored procedure. I am getting the result what I want but its print statement. How can I convert this into table. ALTER PROC [dbo].[spa_R_TeamDetails] @ReportsTo INT AS BEGIN SET NOCOUNT ON DECLARE @PersonId INT, @DisplayName VARCHAR(100) SET @DisplayName = (SELECT DisplayName+'~'+CONVERT(VARCHAR,PersonId)+'~'+OrgEmpId TeamMembers FROM Person WHERE PersonID = @ReportsTo) PRINT REPLICATE('- ', (@@NESTLEVEL * 1)-1) + @DisplayName SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo) WHILE @PersonId IS NOT NULL BEGIN EXEC spa_R_TeamDetails @PersonId SET @PersonId = (SELECT MIN(PersonId) FROM Person WHERE ReportsTo = @ReportsTo AND PersonId > @PersonId) END END -- spa_R_TeamDetails 1781