Click One User Logo That Pop Chat Window Automatically Fired In That User Window?
Dec 28, 2010
i am doing one chat application in that chat application i have one private chat now i want if i click one user logo that pop chat window automatically fired in that user window how do i that
View 1 Replies
Similar Messages:
Sep 2, 2010
I've got a Jquery function that I wrote which blacks out the screen after a certain amount of inactivity, creates a pop-up that allows the user to click a button to stay logged in, and logs them out (closing the application window) if they do not respond in time.
The environment is ASP.NET (VB). We don't technically use master pages, but we do have a parent page in which our header, footer and nav reside, and my Jquery code is called from that window, loaded via an IFrame.My problem is that if one is working in a child window, the parent window doesn't recognize that the system is in use, and will automatically engage at the allocated time.I've tried everything under the sun I can think of and nothing works properly. My event handler is working, and it does call the parent window function, but the timer is not being reset.
I have this function in the parent window:
<script language="javascript" type="text/javascript">
function window.reportChildActivity() {
SESSION_ALIVE = true; [code]....
View 1 Replies
May 20, 2010
Refresh the Parent Window. I open the child window,I want that on close button click on child window,parent window refreshes
Code:
[code]....
I searched all on the net & find the above soln,But its not refreshing.when i click on button1,then some Pop up appears see in Pic(with buttons Retry & Cancel). When i click on Retry again the child window loads Then again i click on button1,again popup appears & so on & on.
View 10 Replies
Oct 18, 2010
i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?
View 2 Replies
Mar 25, 2011
I want to get user login, he/she logged in to windows with, and display it in the TextBox.
Is this possible to do?
View 2 Replies
Mar 30, 2010
I have a user control that displays some database records when I first hit the page. When I click the submit button the page load event fires again, loading the user control again. Then the button click event fires inserting a new row in the database which is not shown on the page because the user control already did its stuff. If I could get the user control to do its stuff after the button click event I could then see the newly inserted row. I can do this by pulling the code out of the button click event and sticking it in the page load event. However, I think that would be bad code flow. How can I get the user control to do its stuff after the button click event has fired?
View 7 Replies
Oct 27, 2010
I would like to open a popup window from user control on button click event. I am using the following code but I am not able to open new window
[Code]....
View 4 Replies
Apr 24, 2010
I want to develop the same future in C# , that is there in asp.net (MODEL POP UP) .
when ever i click on the button, that should come up with a panel to enter the values.
View 9 Replies
Jan 25, 2011
How to prevent a user to open a new Tab or window, if the user already in session?
View 2 Replies
Feb 18, 2010
i am developing a chat engin and i need some guidenc i have done to some exten but i am unable to make the window pop up on both the users i.e if a want to chat to b if he clicks on b the window is poping up in a's side but it's not poping up on the b's side
View 1 Replies
Mar 31, 2011
I have a user control which opens a new window for some item selection. Once an item is selected on that window, the item ID should be passed to a callback javascript function in the user control. In order to have a unique callback function name in the user control (it may have multiple instances on the same page), I added the user control ID to the function name as follows (defined in the ascx file):
function OnItemSelection_<%=this.ID%>(selectedItemID)
{
OnItemSelection("<%=SomeControl.ClientID%>", selectedItemID)
}
Where OnItemSelection is defined in an external js file:
function OnItemSelection(controlID, selectedItemID)
{
$(controlID).do_something(selectedItemID);
}
The issue is that now I'm not sure how the new page can call the "right" function (of the user control instance where it was opened from). The only idea I have in mind so far is passing the name of the callback function in the query string:
var CallbackFunction = function(selectedItemID)
{
window.opener.<%=Request.QueryString["CallbackFunctionName"]%>(selectedItemID);
}
or maybe just the opening user control ID:
var CallbackFunction = function(selectedItemID)
{
window.opener.OnItemSelection_<%=Request.QueryString["UserControlID"]%>(selectedItemID);
}
My questions are:
1) Is it a bad practice passing javascript function names (or user control IDs) like that (I suspect it is)?
2) What could be better way to handle this scenario? Edit: Another way I'm considering now is declaring a global variable in the user control (registering it from the code behind so it'll appear only once). Then, when opening the new window, it's possible to assign the relevant function to it (OnItemSelection_<%=this.ID%>), and call it from the new window. Seems much cleaner than passing user control data through the query string.
View 1 Replies
Feb 2, 2010
I have a USER CONTROL with a <div> tag and a button. I want to print the content of the <div> when the button is clicked. Only the content of the div and nothing else no matter where the control is used. This without opening a new window.
View 3 Replies
Apr 11, 2010
i need to develop a tool which will take a long of time while processing, lets say copying data with size 1 GB from one database to another,
i can develope a webform for that issue but i have a problem which is when the user close the browser the process will terminate!
what i need is when the user click on "copy" button (regarding to my previous scenario) the process continue even the user close the browser, and will not end untill the all data copied successfully to the destination place.
should i use windows service with my webform? or webservice ?
View 11 Replies
Mar 15, 2010
I inherited a poorly designed ASP.Net web site. Here are some of the main parts;
1. Default.aspx. This web page conatins several user controls that do the bulk of the work.
2. Alerts.ascx. Used by Default.aspx
3. Dashboard.ascx. Used by Default.aspx.
4. LabResults.aspx. Popup window called from Alerts.ascx
bear with me while I describe the scenario:
1. The user clicks a button on default.aspx and a page in Alerts.ascx is displayed. This works fine.
2. The user then clicks a hyperlink control on Alerts.ascx and the popup window LabResults.aspx displays. This also works fine.
3. The user clicks a button on the popup window. Here is where I am having problems. I want to close the popup window and do a post back but not to Alerts.ascx. i want to instead call dashboard.ascx and run a particular event which displays some patient info. I do not know how to pass control to the dashboard.ascx user control at his point. Presently, my popup window closes which is good but the Alerts.ascx page is still displayed. I want to close this page and open the dashboard.ascx instead.
View 12 Replies
Sep 25, 2010
if any one login how to get user name and show in our web page
and how to get location of client side (Physically Ex-India -Delhi-Anand Vihar)
View 3 Replies
Aug 19, 2010
I am new to asp.net programming. While working with windows form(windows application) i have created a window for editing purpose(just like popup window ) which contains three bounded dropdown list a button and a gridview. After making selections from the drop down when we press button the corresponding result should display in a grid.After that when you click on the grid row it will load the corresponding datas in my form. i want to create such control in asp.net . i have to use jquery or ajax. And this pop up window i have to use more than twenty times in my application.am using VS2008 ASP.NET and C# 3.5.
View 3 Replies
Sep 11, 2010
I have been reading up on a few atricles, and am now vey confused on which is the best option and how to go about it.
I have an aspx page that has a gridview with x amount of records. Each record has a checkbox to selet that record for processing. When a user clicks a button it runs some vb.code behind which generates a file for all the records selected in the gridview. This works fine, however, I also want to display a report at the end.I created a rdlc report ("ItemListing") which I can display in a reportviewer. What I want to do is show this report as a popup / new window infront of he current aspx page , to allow the user to print or save . I also want the user to be able t close this window.
View 10 Replies
Apr 18, 2010
I am using jquery.fancybox-1.2.1.js of fancy box in asp.net applicationQ1: In the base page i have datagrid and on combobox. on slection of combobox the datagrid is populated.From the datagrid I open the fancybox when user click on Edit link. I open new page likeIn EditProjectTask.aspx i have the controls in edible mode. Now if user closes the window using default icon provided in fancybox.then if user select some other option from combox the url changes into EditProjectTask?Task= 86Q2: #
From the # datagrid I open the fancybox when user click on Edit link. I open new page likeIn EditProjectTask.aspx i have the controls in edible mode. Now when user updates the the content I want to close the fancybox and also refresh the parent window. I have achieved this using
After update i #But it reloads all the page.Can I use some Ajax call.
View 1 Replies
May 24, 2013
I need a popup window to enable a user to edit rows of a gridview. This part is done and working. Now, i need to change this popup to contain a tab container instead so that more options can be added. This, however i have had no luck getting to work. Have tried finding an example detailing how this can be done, but no luck. I am using the ajaxtoolkit with SharePoint 2010 and asp.net 3.5
View 5 Replies
Nov 24, 2013
i want to pass the value of variable form popup page to main page. i have try to use the session but i can't because the main page is start before the popup page start.
View 1 Replies
Jan 7, 2011
How do I abandon the session when the user closes the browser window instead of pressing the logout button in ASP.Net 3.5 application.
View 5 Replies
Mar 15, 2010
How to pass user credential from ASP.Net application to open Report Manager in a new window. When I'm searching in the net, basic authentication was the solution I found. But don't know to pass credential through code
View 1 Replies
Mar 25, 2011
I am creating a webform where a hperlink control is added dynamically and i want to open a link of that hyperlink in a new browser window.
View 4 Replies
Sep 10, 2010
In ASP.NET, Session_End will be fired when the Session is time out then I can guess the user has left or close the Browser window in this method. But there is some delay till time out, is there any better solution?
View 2 Replies
Jul 17, 2010
This one site in particular Total Training Online has a popup window that drops from the top of the screen on the right side. How can I create that in asp.net c# 2008?
View 2 Replies