AJAX :: Cross Page Tab Control Linking?

Jan 5, 2010

I'm trying to solve an issue in an elegant way. The problem at hand is I have 2 aspx pages (I'll call then Page1.aspx and Page2.aspx).

Page1.aspx contains an AJAX tab control with 3 tabs (I'll call the control Tab1). Page2.aspx also contains an AJAX control with 3 tabs (I'll call the control Tab2).

My question is, is there an elegant way to have a hyperlink on the second tab of the Tab1 control that links to the thrid tab on the Tab2 control? And, is there a way this linkage can be represented as a web address (example : http:\someserversomeappsomepage.aspx???TabControlIdentifier,???TabNumber.

The current methodology we are implementing is to pass the TabControlID and Tab number as querystring values and the set the focus in the codebehind of the page. But the only way I can think of to implement this across multiple pages is to have all the receiving pages implement the same overriding class that handles the focus issue.

View 1 Replies


Similar Messages:

Web Forms :: Cross-page Postback From User Control Included In Master Page?

Apr 4, 2010

I am tring to send form values to a page from a user control. I included the user control in a master page.When i use page.previouspage it can not get value. is there any way to send form data to a page from a user control included in a master page?

View 5 Replies

Login Control And Linking To Database?

Jan 13, 2010

I got this question which I trying out for month and I still can't figure out.This is the scenario (Sorry for the poor English)There is a database that have information such as the employee particulars (Name, Mobile, address etc)How do I link the user to the database as such,When the user (John) login to the website, the database will display
(john) particulars only and not the other user's particular?

View 3 Replies

Linking A CSS Stylesheet With A Custom Control?

Jun 4, 2010

I'm developing a custom control which is a composition of tables and buttons. I also have an external CSS stylesheet that defines the styles for these elements.

The Control's type is CompositeControl, under namespace MyControls and the definition of the class is in a class file CompositeControl.cs and the dll file generated is named MyControls.dll

The stylesheet is called styles.css and is in the same folder as CompositeControl.cs

For each control (Button, TableCell, etc.), I have specified the CssClass property.

When I add this control to my ASP.NET webpage and check the HTML source when run at localhost, I see all the control tags have the class attribute correctly set, but the source doesn't include the <link> tag which is necessary for including an external stylesheet.

View 1 Replies

AJAX :: Linking Multiple SliderExtender Controls?

Jan 30, 2011

So I want to build a page with 3 sliders that are linked and limited to 100 total. So if the user slides the 1st slider to 100 then the other 2 wont move. Or they could do 50 / 25 / 25 etc etc...

So I need to limit each slider maximum based on (100 - the other 2 selected values) and I'd like to do it without a postback.

View 1 Replies

Gridview Linking To Detailsview On A Different Page?

Jan 7, 2010

Im fairly new to .net so apologise if this is a simple request!

I have a simple page with a GridView control getting data from a sql database.
I have added a hyperlink as below
<asp:HyperLinkField Text="Select" DataNavigateUrlFields="title_id" DataNavigateUrlFormatString="title.aspx?id={0}" />

On my title.aspx page, i have a detailsview control and i want to be able to retrieve information using the id from the gridview hyperlink.

View 3 Replies

Get HTML Linking In Aspx Page?

Feb 5, 2010

This might sound like a stupid question, but here is what I want:in an aspx page in Sharepoint wiki, there's a section that I can insert rich text and html code. Here I want to transfer plain html pages to sharepoint wiki.The original html page has many in-page links, like "/Build_Environment/SQL/macs.html#CREATE_TABLE" where links to a section called "Create_Table" in the same page.How would this be done in aspx page? Is it something can be rewritten in html format so that in aspx page, the html section will also work as before?

View 1 Replies

How To Raise Load Event On Previous Page With Cross Page Postbacks

Feb 21, 2010

I'm working on a wizard-like set of page, and I'm relying on cross page postbacks to navigate between them.

I need to be able to trigger the Load event on the previous page in order to save the form data for the page.

I've been told that for situations of this sort all I had to do is access the PreviousPage property in the destination page and this would trigger the load event of the previous page but for some reason this doesn't seem to be working.

Is there anything else I can do to explicitly trigger the load event on the previouspage if the PreviousPage property is not null?

View 3 Replies

Cross Page Postback And Passing Info From Source To Destination Page

Feb 15, 2010

I have a FileUpload control in the Source page. On the Upload button handler, I read the file into memory (after doing some validations) and since it's always going to be a TXT file, I create a string that I need to pass to the Destination page. I thought of using Cross Page postback and set the PostBackUrl property of the upload button. But it appears that the breakpoint in the Upload button handler is never hit. It directly goes to the Page_Load in the Destination page. If I can't use Cross Page postback and don't want to use Session or the database, how do I pass this string from Source page to the Destination page?

View 2 Replies

Cross-page Postbacks And Back Again Retaining Data From Source Page?

Sep 17, 2010

Is it possible to use cross-page postbacks (or a similar method, perhaps Server.Transfer) to post form data (say, Data-set A) to a page, which then allows the user to add some additional information (say, Data-set B) and then postback to the original page the complete set of data (A+B) which then flows through the normal event execution process, similar to as if all data A+B was submitted on the original page to itself in a normal postback?

I don't want the second page to have any type knowledge of the original page, it just needs to supply two additional feeds and send the data on. This way different pages and controls could use this method for gaining additional data.

For example:

Page 1 could have a form with various text inputs, and two hidden fields Hidden1 + Hidden2 which are empty.

When the form on page 1 is submitted the user is presented with page 2, they complete that page and then all the form data from page 1 is posted back to page 1 but with the hidden fields 1 + 2 complete. Page 1 then has all the information it needs to complete.

I'm thinking that perhaps page 2 just needs to use PreviousPage and take its post data, add to it and then post it back to page 1, but as if it came from Page 1 and not Page 2. But I'm not sure if this is possible and ASP.NET might read this as tampered data?

View 1 Replies

Sql Server 2005 - Linking Database Column To Dropdown Control

May 2, 2010

I am using c# with asp.net and SQL Server 2005 as backend. I want to use dropdown list control in a form to populate a textbox. The dropdown control is linked to a column in the database. How can I code this in c#?

View 1 Replies

VS 2010 Linking To Page URLS That Will Change

Mar 3, 2011

I am currently working on a project which involves creating many web controls, some of these web controls have buttons and links which post to aspx pages. However these pages are likely to change and could again change in future. It would be nice if I could list the pages as names in a config file and the resolve page name and do a lookup so when they change I just change the config file rather than all the controls. Firstly is this possible and/or is there a better method? It would also be good if there was somekind of chaching method so we dont actually have to query the file everytime.

View 6 Replies

Cross Page Posting Via HttpRequest || Page.PreviousPage?

Mar 26, 2011

I've been developing classic ASP pages at the job for the past five years and now we are moving to ASP.NET. I'm trying to understand how to get form field values from one page to another and it seems like there is more than one way to do it. In classic ASPI just called request.form collection and got the information. Which way is recommended in .net? Cross Page, Transfer, or HttpRequest?

View 1 Replies

C# - How To Create Cross Browser Custom Control

Feb 16, 2010

I'm goingto create an asp.net control which should be cross browser. and support some skin - multilanguage and rtl & ltr support.

View 3 Replies

Trying To Do A Cross Page Postback And In The Target Page?

Jan 25, 2011

I am trying to do a cross page postback and in the target page I am trying to reference a usercontrol.this my user control class declaration.

[Code]....

this how I try to reference it in the target paget:

[Code]....

It will not compile and the problem I get or the error I get is: Error 79 Type 'BCWeed.GetADeal.UI.PurchaseCartAJAX' is not defined. D:ills systemBills Desktop estSocialmypurchase.aspx.vb 7 29 D:...Social

View 2 Replies

Cross Page Posting With ASP Value Not Available On Target Page

May 20, 2010

I am trying to pass a value between two pages. However on my target page, the value is not found. My source page includes the following code.

Public ReadOnly Property SQLString() As String
Get
Return "SELECT * FROM City"
End Get
End Property

On my target aspx page I have included the following directive:

<%@ PreviousPageType VirtualPath="~/tools/SearchResults.aspx"%>

In the target page code behind I have included the following in the page load:

Me.Master.Page.PreviousPage.SQLString

However, Visual studio complains that, SQLString is not a member of System.Web.Ui.page. I must note I am useing master pages, and vaguely recall this causing an issue when accomplishing this in the past.

View 1 Replies

What Is Cross Page Post Back

Jan 18, 2010

I am currently a beginner in asp.net i am currently watching msdn videos of "beginners developers learning" i am on the topic of application state so i got confused on a topic of "cross page postback" can anybody explain what that is

and another thing is "profile" object we use it in web.config file

1. what is cross page post back?

2. what is web.config file?

View 4 Replies

Cross Page Postback From Codebehind?

Aug 16, 2010

I want to do something similar to what happens when you click an asp.net button that has a PostBackURL set. I've tried Server.Transfer but the URL doesn't change (which is something I want). Is there a better way to do this, or alternatively is there a way to make Server.Transfer display the correct URL?

View 2 Replies

C# - Cross Page Posting & Custom Validator?

Mar 5, 2010

I use a Custom Validator (which validates on the server) and a button (it's PostbackUrl = "Page2.aspx").

When I press the button the browser show always Page2 without checking if the page is valid.

View 1 Replies

Javascript - JQuery Ajax Cross Domain Call And Permission

Feb 4, 2010

I have this polling script to check if a text file is created on the server. Works great locally, but fails when the file is on a different domain. How would i rewrite this for cross domain support?

$.ajax({
url: 'http://blah.mydomain.com/test.txt',
type: "GET",
success: function(result) {
//Success!
window.location.replace(Successful.aspx');
},
error: function(request, status, error) {
setTimeout("VerifyStatus(" + pollingInterval + ")");
}
});

EDIT: I ended up using YQL to solve the cross domain issue and although it works, YQL is really slow that's adding quite a bit of performance overhead. Can anyone suggest a better solution for cross domain JQuery calls?

View 3 Replies

Web Forms :: Cross Page Posting - Pass Data To The Second From The First

Apr 10, 2010

I have 2 forms and i want to pass data to the second from the first. All i get is null value or nothing. In the first page i have :

[Code]....

Before response i check the value and it's "7" Then on my second page i have. on page load, or on a button. Dim s As String = Request.Form("CurrentId") I have also tried with putting on markup:

[Code]....

View 2 Replies

Web Forms :: Cross Page Posting Values Getting Wrong

Oct 23, 2010

I am doing project in asp.net(3.5),c#.net and sqlserver2005 I am using cross page posting property from reviewsubmit.aspx page to principalauthentication.aspx, and to get the values to other page i am using get propery, here the problem is when i am posting details to other page from there i am submitting to db. if both users logged in at a time and submitted, second submitted user previouspage values coming as first submitted previous page values. what should i do, how can i resolve

View 5 Replies

Web Forms :: Dynamic Controls In Cross Page Posting?

Jun 14, 2010

I have a form with 4 dynamically TextBoxes. I have a Button with PostBackUrl set to another form. In that form I am trying to access the Dynamic TextBoxes using Page.PreviousPage.FindControl("PlaceHolder1").Controls.ofType<TextBox>(). But I am unable to access the dynamically created textboxes.Am I doing something wrong or is it a Limitation?

View 3 Replies

Web Forms :: Simple Cross Page Postback Not Working?

Mar 13, 2011

I've been having trouble getting a postbackurl to work, so I tried to do a simple test between two pages and I still get the same thing.

[Code]....

That's all I have on Test1.aspx, yet no matter what I do it just postsback to itself. I can't get it to direct to Test2.aspx. I've tried LinkButton too.

I'm using VS2010 and the builtin webserver.

View 9 Replies

C# - Cross-Page PostBack Error When Posted From One Folder To Another?

Feb 18, 2011

I'm getting the 'Object reference not set to an instance of an object.' error on PreviousPage after using PostBackUrl.I created a simple test page to recreate the problem, however it worked fine, until I moved the source and destination pages into different folders. Is this the reason the PreviousPage object is null? how do I fix it?Both the folders the source and destination pages are in are in the root directory of the website.Source Page: /companies/test.aspx

<asp:Content runat="server" ID="Content" ContentPlaceHolderID="FullPage">
<asp:TextBox ID="Demo" runat="server"></asp:TextBox>
<asp:LinkButton ID="testlink" Text="test" runat="server" PostBackUrl="~/Documents/test2.aspx">

[code]...

View 1 Replies







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