Web Forms :: How To Check Whether Particular Webpage Is Already Opened Or Not

Jan 19, 2011

I have one login page which contains popup control for entering login details. When user successfully logged in then Itemlist page will get open and login page also remains open (as per my requirement) with some text. Now if user reloads the login page then it will open second Itemlist page though first Itemlist page is opened. So i want to check on login page that if Itemlist page is already open then it doesn't open second itemlist page.

View 5 Replies


Similar Messages:

Web Forms :: Check If A Page Is Opened . IF Opened, Close The Page?

Nov 4, 2010

I am generating a new report page by using the following code.

[Code]....

But, the above script is used in more than 20 parameter page which ultimately always open the same Report_preview.Aspx page.

What i want to check while running the above script is "give a warning if the Report_preview.Aspx is already opened"

View 5 Replies

Web Forms :: Check If Page Is Opened From Certain Page?

Oct 12, 2010

I have a vacation booking page and don't want customers to go directly to the booking page. (course in that case customers could enter there own dates or leave the dates blank)Is there a way that if a user enters
www.mysite.com/booking.aspx into there browser it redirects to an error page.But the page must be visible after filling in arrival and disparture dates on a parent page. So to simplify: Can I check on opening booking.aspx if the sender is calendar.aspx then open booking.aspx else goto error page

View 1 Replies

Web Forms :: Can Check Availability Of Email In Webpage

Jan 23, 2010

I've a user registration page in which i take email address as input by user. But i wanna check that the given email address is a valid (I mean registerd address or not) or not. It's not syntax validity check.I want to check the availability that means the given address is there in web or not.

View 3 Replies

Security :: How To Check Authentication In Webpage

Apr 28, 2010

I am new to this so forgive my lack of techical jargon/understanding.

We have and active directory setup in our dmz for 'external' user authentication to our web sites. This works fine...

We also have 'internal' users who have been authenticated to our 'internal' active directory. That works fine.

The problem is that we would like the internal users to be able to access the web sites on the web server in the dmz without getting prompted for authentication a second time...the user has already logged into the AD internally. Is there a way for this to happen? Currently they are being prompted for their credentials any time they go to login to a web site that is located in the dmz.

View 1 Replies

Check If A Webpage Is Loaded Or Not In The Browser Window When Redirecting From A Different Website?

Feb 14, 2011

My requirement is that I have a few hyperlinks on a webpage and when the user clicks on these hyperlinks I should redirect the user to an asp.net web page(Default.aspx) in a different website.

For the 1st time when the user clicks on one of the hyperlinks it will launch a new browser window with the Default.aspx loaded and then if the user clicks on some other hyperlink I want to redirect the user to the existing browser window(in which deafult.aspx is already loaded)with the content related to this particular hyperlink loaded,instead of launching a new browser window/tab.

But I am not sure of how to achieve this.I wonder if I can add some js to the asp.net Default.aspx page to achieve this.

View 1 Replies

Web Forms :: Link Not Getting Opened In Browser?

May 13, 2010

i have a asp.net web application with few hyperlinks

when clicked it used to open in a new window due to target="_blank" which is specified

it was wrking fine but due to some settings or changes done now its not getting opened the links without target="_blank" gets opened as it gets opened in the same parent window

View 11 Replies

Architecture :: Want To Use Same Instance Of Opened Forms From Application?

Mar 13, 2011

I have window application and I want to use same instance of opened forms from application. I know this is possible with singleton pattern so if you have code example of singleton pattern then

View 2 Replies

Web Forms :: How To Click The Save Button And Still Have Modal Pop Opened

May 20, 2010

I have a user control with some asp.net controls and a submit buton. On clicking submit i save data to my db.Now I open this user control from a modal pop which is inside a grid. I am using a modal popup extender.When they hit save which is a button on my user control I just want to update my db. But whats happening is when i hit save the modal popup closes and i belive my update panel refreshes.How can i click the save button and still have my modal pop opened.

View 6 Replies

Web Forms :: Session Expires When A Modal Window Is Opened?

Jun 4, 2010

I have Page1 having Button1.

Page2 having Button 2 and an ascx control UC1. UC1 has a Button 3. Page2 is a modal dialog ( window.showModalDialog )

on Click of Button1 open Page2(modal dialog).

Page2 has UC1. UC1 has a button B3. On click of B3,instead of directly going to B3_click event, another post back happens. Thereafter opens login.aspx in another browser ( It is losing Session containing UserDetails as well as other session details).

now even If I continue entering Username and password, page2 reloads again in the new browser.

I am totally lost.

1) I do not know why UC1 button click makes another postback and thereafter opens up into another page losing all the sessions!!

I want to retain teh sessions till i go back to page1.

View 6 Replies

Web Forms :: Kill Excel Process - Opened By Current Instance?

Jun 30, 2010

I have an asp.net application, which opens an excel file and reads it content. If user closes the application or the page when the excel file reading in progress, i want to kill the Excel process (which is opened by the current instance.

View 17 Replies

Web Forms :: How To Get The Names Of Excel Files Opened On The Client Machine

May 25, 2010

how to get the names of excel files opened on the Client machine and populate it in a ListBox? If somebody did it please reply to this or give some pointers / web site links to me, so that i will read and try to use for building my code.

View 1 Replies

Forms Data Controls :: Get Recent Opened Records To The Datagrid?

Feb 28, 2011

I have a table which have different records in it, When user click on each record I save the primary key of the record to another table (recent viewed) with short date and time. It checks first if that record is already there so it just update the data and time but if record is not yet there then it will add it.

I want that the recent viewed table only store 15 records in it. Not more then 15 and most oldest added record should be overwrite. Is that possible in MS SQL server 2008?

View 1 Replies

Web Forms :: Whenever Click On Any Button On Webpage, The Request Goes Through, But Nothing Show Up On The Webpage?

Dec 17, 2010

I am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..

e.g.

I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..

so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'

View 3 Replies

Forms Data Controls :: IE 6 The Page Numbers Do Not Display When The Pane Of The Accordian Is First Opened?

Nov 3, 2010

I have a gridview control sitting in a jQuery Accordian. The data in the grid diplays fine, however in IE 6 the page numbers do not display when the pane of the accordian is first opened. If you open another pane and then re-open the pane containing the grid view the number appear. There is also no issue with IE7 or later or FF.

View 2 Replies

Web Forms :: Displaying One Webpage Content In Another Webpage?

Apr 24, 2010

I developed an application form which includes some textboxes for input. When the user click on the button the following tasks has to be done.

1) If page is valid all data should be stored in database

2) A new webform should appear on the same window and the some content of the application form should be displayed in it.

3) When clicking on browser back button it should not post back to previous page.....

I did the first task..and i don't know the code for the remaining tasks. Here is some information

.aspx button control code

[code]....

I opened new webform by using Response.Redirect ("submit.aspx"). Where submit.aspx is the form to be opened after data stored upon the button click in application form.

View 9 Replies

Forms Data Controls :: Update A Date Field When Check Box Check In Detailsview

Jul 15, 2010

I have a detailsview with an update button one of the update fields is a checkbox which when is checked I want to automatically update a date field of when the checkbox was checked, am I going the right way with this code....... as I am getting a number of errors

Dim i As Integer
For i = 0 To detailsview2.Rows.Count - 1 Step i + 1
Dim row As GridViewRow = GridView1.Rows(i) [code]....

View 4 Replies

Forms Data Controls :: Uncheck And Check The Check Box Inside Gridview Using Button?

Nov 12, 2010

i have a UP and DOWN buttons ouside a gridview and a checkbox inside the templated field .I will check the checkbox to sleect a row , after that if i click on UP button the checkbox above the selected checkbox should be selected.

same with when i click on DOWN button the checkbox below the selected checkbox should be selected.

View 2 Replies

Forms Data Controls :: Check The Check Box In The ItemDataBound Event Or Will It Get Checked Automatically?

Jul 1, 2010

I have a check box in the grid.IF IsChecked has a value checkbox should be checked else not.Should i check the check box in the ItemDataBound event or will it get checked automatically.

<asp:DataGrid Runat="server" ID="gridProduct" AllowPaging="True">
<Columns>
<asp:TemplateColumn HeaderText="Employee Name">[code]....

View 7 Replies

Forms Data Controls :: Uncheck / Check A Check Box Inside The Gridview

Jan 6, 2010

I have a grid view with two columns...one column has a no. like (123) and a check box....which user can checked or unchecked......all I need to do is that I need to disable the man handling of that check box......rather I would like to see a seperate grid view with the same no. of rows as of the first and in this gridview I may allow to type in or scan the no. and if this scanned or typed number matches any no. in the first gridview number then the corresponding check box should be checked/unchecked.

View 1 Replies

Web Forms :: Create Dynamic Check Boxes In Check Box Selection?

Feb 11, 2011

when we select a check boxes creat dynamic check boxes. I have a main catagory check box when we select this main catagory check box creat subcatagory check boxes related to main catagory dynamically.

View 1 Replies

Web Forms :: Unable To Check Whether Dynamically Created Check Is Checked Or Not

Aug 16, 2010

i generated dynamic checkbox n placed it in table cell( <td runat='server' id="trial"></td>) ,

i am not able to check whether check is checked when i click a button.

i recieve exeception :System.NullReferenceException was unhandled by user code

[Code]....

View 17 Replies

Web Forms :: Check Box Group / Code To Allow User Only Check One?

Nov 22, 2010

There are 10 check boxes in one page. How to code to allow user only check one?

View 2 Replies

C# - COM Port Can't Be Opened In Asp

May 10, 2010

I following this article for sending SMS it is a winform application.. I have referenced all the Dll's to my asp.net application. I use an aspx page to detect a mobile device connected to a PC..... But it alwys shows COM 'n' Port could not be opened.

using SMS;
using GsmComm.GsmCommunication;
using GsmComm.PduConverter;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
GsmCommMain comm = new GsmCommMain(6, 9600, 300);
comm.Open();
if (!comm.IsConnected())
{
Response.Write("No Phone Connected");
}
else
{
SmsSubmitPdu pdu = new SmsSubmitPdu("test", "+919999999999", "");
CommSetting.comm.SendMessage(pdu);
}
}
}

EDIT:

I use the web development server that ships with Visual Studio... If go to Control Panel -> Phones & Modems -> Modems i could see my mobile connected in com6.. i have tested the winform application it works fine.Is this the answer? ASP.NET pages are supposed to work.What is happening over here is that when you click on open_com button, the ASP.NET page posts back to itself, executes the event handler i.e., opensthe port. Then when the page finishesprocessing the post back, it is unloaded. At this point the COM1 objects is also destroyed.

View 3 Replies

Gridview Can't Be Seen When Page Is Opened

Feb 7, 2011

I have a page with a gridview on it. The gridview can not be seen when the page is opened. There is a dropdownlist and a button on the page. The user is supposed to make a selection in the dropdown and then click the button (labeled "Go") and then the gridview appears. The problem is that the gridview appears in response to the dropdown selection, before the go button is clicked. I'm sure this is easy but how can I stop the gridview from appearing in response to a dropdown selection? The dropdown is called ddlfilter. This is the code I am using:

Part 1 (continued in next post):
Code:
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"[URL]>
<script runat="server">
Private Function GetColumnIndexByName(row As GridViewRow, SearchColumnName As String) As Integer
Dim columnIndex As Integer = 0
For Each cell As DataControlFieldCell In row.Cells
If TypeOf cell.ContainingField Is BoundField Then
If DirectCast(cell.ContainingField, BoundField).DataField.Equals(SearchColumnName) Then
Exit For
End If
End If
columnIndex += 1
Next
Return columnIndex
End Function
Sub GridView1_RowCreated(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
If Page.IsPostBack() Then
If ddlFilter.SelectedItem.Text.ToString() <> "- ALL -" Then
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Cells(GetColumnIndexByName(e.Row, ddlFilter.SelectedItem.Text.ToString())).CssClass = "viscol"
End If............

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved