Web Forms :: How To Differentiate IE8 Tabs / Windows
Aug 8, 2010Is there a way to differentiate multiple tabs or windows in IE8? Using this information I want to uniquely identify tab/window where the web request is coming from.
View 2 RepliesIs there a way to differentiate multiple tabs or windows in IE8? Using this information I want to uniquely identify tab/window where the web request is coming from.
View 2 RepliesHow to prevent multiple browser windows opening in asp.net ...
View 1 RepliesPreventing user to open duplicate web application,while it is running .....
View 1 RepliesI have a page where I display ASP.NET charts. There are two types of charts and I felt the need to separate them to some extent which I did by using a submenu which looks like this:
Charts > Goals Charts
> Reconciliation Charts
Clicking on either of the two chart links will take you to the same Charts.aspx page, but with the query string "Goals" or "Reconciliation" respectively. On the page load of the Charts.aspx page, I receive the query string into a session variable and create the correct charts based on that value. All of this works fine.
The problem I'm experiencing occurs when I open up a new tab in IE/Firefox. Here is the series of events I'm experiencing:
- In the original tab, I will click on the "Goals Charts" hyperlink which loads the Charts.aspx page with "Goals" as the charts type session value. The other controls on the page needed to produce "Goals" charts (eg. drop down lists, etc) are displayed correctly ie. the "Goals" version. At this point, I haven't done anything in this tab except for loading the Charts.aspx page from the "Goals Charts" link.
- In the original tab, I right click the "Reconciliation Charts" link and opt to open in a new tab (I just tested and the same thing appears to be working if you opt to open in a new window as well). When the new tab loads the Charts.aspx page, it loads with the query string "Reconciliation" which it stores in the session variable. So at this point I would expect to have two different, independent tabs: the original tab on the "Goals Charts" track and the second tab on the "Reconciliation Charts" track.
- This is where the problem occurs. I would expect the original tab/window to create a "Goals" chart when I make a selection using the other controls and I would expect the second tab/window to create a "Reconciliation" chart. The problem, however, is that when I go back to the original tab/window - the one which should be a "Goals" chart and which should have "Goals" stored in the session value - when I proceed to create a chart, it's a Reconciliation chart that is created.
Somehow, even though I'm in a different tab or window and I am navigating the site seemingly independently of the other tab/window, it seems to be carrying the most recently populated value from the session variable for both tabs/windows.
I have been adding different JQuery Carousels to AJAX Tabbed Panels - the first one displayed on the page always works. But any other tabs dont work when I select the tab. I have about a dozen different carousels.
Can anyone recommend one that works in AJAX Tabs or how I can go about rectifying this?
I have created an asp.net applications in which i am using jquery tabs to show say profile modifications information. I want user to see his profile info as well as he will be able to edit his details and save the information. for this purpose i have created an aspx page "MyProfile.aspx" and 3 ascx pages
say "page1", "page2" and "page3".
When i run "MyProfile.aspx" i can see all 3 tabs showing correct information. But problem is when i edit contents and try to save them back to the database. Contents on page1 are stored correctly. But page2 and page3 doest not fire any event. In all 3 pages I am using ajax n jquery to save data to database. and when i try to save contents of page2 and page3 nothing occurs.I am showing 3 tabs there of which first tab edits save the details but second and third tabs do not fire any event on button click.
I am not using asp.net membership role provider. But what i want to do is differentiate b/w employees and customers who register to my site. I want to assign some rights to my employees and very few rights to customers (like they should be registered but they can only give feedback)...
How can i achieve this? what changes should i make to the database table in SQL?
on my asp.net page i am linking 2 css files which are used by 2 different controls but the main problem is that one class name is same in both so they are conflicting with each other, how can i distinguish between them. Both are of jquery, 1 is slider control and another one is time picker control. and they are conflicting on their background image as i want to change background image of slider control's scroller. code for using slider :
<div id="time1" style="float: left; width: 100px" >
<code>$('#time1 input').ptTimeSelect({ popupImage:
'<img alt="Select" src="../images/icon_clock_2.gif"
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" />'
}); </code>
<div >
<input id="s2Time1" runat="server" name="s2Time1" readonly="readonly" style="width: 60px" />
</div>
</div>
below code is for time picker :
<div id="time2" style="float: left; width: 100px">
<code>$('#time2 input').ptTimeSelect({ popupImage: '<img alt="Select" src="../images/icon_clock_2.gif"
style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" />'
}); </code>
<div>
<input id="s2Time2" runat="server" name="s2Time2" readonly="readonly" style="width: 60px" /></div>
</div>
I cannot differentiate b.w Abstraction and Encapsulation.Could anyone explain diff b/w these two together with some c# examples?
View 9 RepliesI have 2 xml documents that I need to find the difference and then save it back to an xml file. I already have the code to get the difference, I am just lost on how to save the IEnumerable back to xml. I tried to stuff it into an XDocument, but got a conversion error.
Code:
Dim xDoc As XDocument = XDocument.Load("doc1.xml")
Dim xDoc2 As XDocument = XDocument.Load("doc2.xml")
Dim result = xDoc2.Descendants("Contact").Except(xDoc.Descendants("Contact"))
'Tried this but It blew up.
Dim resultDoc As XDocument = result
resultDoc.Save("result.xml")
Am I going to have to rebult the xml document and manually add the elements? Or does LINQ support converting back to the same schema?
If I have 2 or 3 different domain names which all point to my same application; is there a way that I can differentiate which of the domain name was used to reach my application? for example if I have both [URL] and [URL] that both reach the same application and I would like to be able to tell which one of those 2 is being used, in code behind?
View 1 RepliesI've a requirement to know if drill down is expanded then what would be value and if it is collapsed then what would be value in SSRS 2005 reporting. So on the basis of this; i can show and hide data column in the matrix control.
I tried to use inscope() function but always getting - True.
I need something if drill down ------> + = Inscope(Grid) value, - = Inscope(Grid) value.
Does Ajax Tab support using sub tabs (or children tabs)?I have a project where I need to show several tabs like "Sales" "Production" "Revenue" and when I click on for example "Sales" I would like to see a new tab tab with "Currentales", "History", "Comparison" etc etc. and be able to click each one of these for further processing.
View 3 RepliesI would like to create two tabs called Info and place. However when the mouse is over the info tab, all the sub-tabs associated with it will show-up and in this case, the sub-tab will be report_1 and report_2 and also when the mouse is over the place tab, all the sub-tabs associated with place will show up and in this case, the sub-tab will be place_report_1 and place_report_2. how do I go about doing this?
View 5 RepliesWhen a .NET server control is rendered in a browser it is rendered as a html control. Then how a browser differentiate between a server control and a html control. If the two control rendered as same then how server side events fire for a server control? If u say by using runat="server" attribute then also we can add runt="server" for html controls to work at server side... so then how these are recognized?
View 11 Replieshow to differentiate whether a managed library is running in the context of asp.net application or in a executable?
View 2 RepliesI am trying to differentiate between a debugging session on the localhost and a live environment in terms of calls to the WS.
View 5 RepliesHow would i differentiate at server if the request is coming from Win 2k3 machine or Win xp 64 bit machine. I tried using navigator.useragent to find the Client machine OS. But here Windows NT 5.2 is same for both the OS. Is there any way to distinguish it at server.
View 3 RepliesI have a problem by getting session which created for new site visit or session expired.
View 3 RepliesI am new to MVC framework. I am having issue as follows,I am having "txtUsername" textbox inside my view (myView.aspx). The same control also avialble in my usercontrol(MyUserControl.ascx).In my view i am rendering this usercontrol as follows
<% = Html.Textbox("txtUsername")%>
<% Html.RenderPartialView("MyUserControl")%>
I am can able to access this both textbox in view and usercontrol in controller class as follows
ViewData["txtUsername"] = "Text from Controller";
Here how do i differentiate these controls. If i run the application both textbox from view and user control filled by the text"Text from Controller". I dont want to fill the text with view's textbox.
I was woundering if i could be lead in the right direction.
I have three tabs on my page and on the first tab i have a txtbox which i supply with a name. On my tab 2. I have a ddl which i will include the value of the txt i was working on on tab1
Now i will like to post the value on the textbox in tab1 to the ddl in tab2(Searching through it and getting the right info)
The way i have it right now is just adding another value into the ddl and its not searching properly even thou i know there is a record in the db.
I have a button control where I retreive 2 strings with 2 URL like in the code below.
What I wonder how it is possible to do, is how to open up 1 browser window with 2 Session Tabs where 1 Tab is [URL]
How can this be possible to do from code behind (C#)?
[Code]....
How to maintain carriage return and tabs in asp.net server control textbox as how we are doing while sending emails and receiving emails.
Textbox with multiline in asp.net control. I like contol as how we are in html for textarea.
Note : I am storing values of texbox in database to retrive for later use.
Is there a way to set tab order on each ListItem within a RadioButtonList? The listitem does not have a TabIndex attribute, so can this somehow be done via javascript?
A similar thread indicates there is not a way to do this [URL], other than using individual RadioButtons instead of a RadioButtonList.
I have three websites A, B & C. Website A & B opens in new tab when a link is clicked from website C. I want to close all the tabs when logout button is clicked in website C.
View 1 Replies