Make Telerik TabStrip Tabs Persist Between Page Requests

Aug 27, 2010

in Telerik ASP.NET MVC TabStrip, I want the page to remember which tab was selected last and persist the selection through multiple page requests.

What I have is a partial view that shows in multiple pages and it contains the TabStrip. With SelectedIndex the set tab always get selected, which nullifies user's selection.

View 1 Replies


Similar Messages:

Telerik MVC Extension - Grid Loaded Within Tabstrip Doesn't Support ClientEvents?

Apr 2, 2011

I am facing serious problem while trying to work in clientevents provided with asp.net mvc telerik grid.
Here's the two different scenarios:When I am putting the following script in a view or partial view it works fine;

<%= Html.Telerik().Grid()
.Name("Grid")
.DataKeys(keys => keys.Add(p => p.StaffId))

[code]...

View 1 Replies

How To Persist A Model Across Multiple Requests In MVC 2

Jan 3, 2011

I'm building a web application that has a particular model representing some events. Users need to be able to add N number of people to a given event. Choosing people is handled by a partial view.

I'm trying to build a menu that displays when users click "add a person" to the event. Because the event hasn't been filled out completely yet, there is nothing in the database to persist between requests.

I also have validation logic on the event page.

My proposed solution is to add the form to search or add for people on the event form itself and have a submit button that sends the values that have been added back to the server, where I can store them in ViewData or Session.

Unfortunately, doing this flags the validation.

My second solution is to load a partial view responsible for loading the UI to add/search for a person. I could add a little code on the method in the controller that returns a partial view storing the existing data in a session variable or viewdata. Trouble is, I have to submit the form to do it--again tripping the validation!

I'm wondering if perhaps I chose the wrong tool to do this...because in webforms, there would probably be a postback and you would just perform an operation on that postback. I'd like to avoid rewriting the application in webforms and am wondering if there are ways I'm overlooking in ASP.NET MVC.

View 1 Replies

State Management :: How To Make A Custom Property Or A Page Persist Across Postback

Sep 29, 2010

I have an object to hold some specific state information in my web application - I pass it back & forward between pages by making it a property of a basepage which works fine, but I lose it on postback.

Is there any way to persist this property without manually adding & reading it again from viewstate?

View 3 Replies

Web Forms :: Setup The Page To Make It Look Like You Can Select Different Tabs With A MultiView

Mar 24, 2011

I've been looking for the best method to add "Tab Views" to my .ASPX web pages. I read about one method on the internet and actually remembered the other possible method from a control in the default VS2010 toolkit.

I like the <asp:MultiView> control because its so easy to use. The only thing is that it requires the page to be posted back. The second method would use CSS + JavaScript to essentially emulate tabbed views in the same webpage by changing the styles of <div> elements based upon the users tab selection, making the selected tab appear visible and the other tabs appear invisible.

I like the ease of implementation of the <asp:MultiView> but I dislike the fact that it requires the page to be posted back and resent. Also, I haven't even tried this myself yet but Im assuming there is a way to setup the page to make it look like you can select different tabs with a MultiView. Can anyone confirm this?

I like the CSS+JavaScript method of "Tab Views" because no page postback is required but it is a little more work to code. No big deal really though once its done.

View 2 Replies

AJAX :: Tabs With JQuery Carousel / The First One Displayed On The Page Always Works. But Any Other Tabs Dont Work When I Select The Tab

Feb 14, 2011

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?

View 1 Replies

Using C# - How To Set A Content Page Property When Users Clicks On A TabStrip (user Control) In Master Page

Feb 10, 2010

I have a web page (Orders.aspx) that gets some orders and show them in a Gridview .The orders list I get from DB is depend on a field named Status. The page has a master page that contains a Tab user control. The user control has several tabs and every tab has a different Status. Therefor, when the user clicks on every tab, I want to pass a value as status to my content page (Orders.aspx) and then select the orders from DB based on status.

View 1 Replies

AJAX :: Make Requests With Faster

Dec 11, 2010

i find a lot of websites that have some parts in the page that uses ajax much more faster than i used to see ajax requests

like changing views using tabs when i click a tab it changes content very fast than i used to in my web applications using Asp.Net and Ajax Control Toolkit

and also a very quick paging in repeaters or grids than i ever developed in my web apps

like this website [URL] i need to know which technology used to achieve this this website is developed using .net

so

but i need to know is this needs another technology to learn (from where can i learn it)

or is it just asp.net + ajax or whth other technology

is it MVC

also i want to know if MVC is better than asp.net + ajax in concern with performance

View 4 Replies

Make Server Run Aspx Requests With Php

Dec 3, 2010

We are creating a real estate website. The National Franchise site wants to pass us searchs that fall in out local area. The searches MUST follow this format:

/propertysearch/findpropreties.aspx?q1=this&q2=that&q3=other

The issues is that we have built a site in PHP and buying a windows server and learning aspx seems like overkill for this one script.

So... I think I need to make a redirect, like this:

RewriteRule /propertysearch/findpropreties.aspx$ http://texasmls.com/corpSearch.php [R=301,L,QSA]

But it does not work.

In summary:

Does anyone know how to trick the server into running aspx files as php?

View 1 Replies

JQuery :: Make Tab Element With Tabs In A Few Rows Because In One Row Does Not Fit

Jun 16, 2010

I need to make JQuery Tab element, with tabs in a few rows, because in one row does not fit!

View 6 Replies

Jquery - How To Make Requests With Ajax Faster

Dec 11, 2010

i find a lot of websites that have some parts in the page that uses ajax much more faster than i used to see ajax requests

like changing views using tabs when i click a tab it changes content very fast than i used to in my web applications using Asp.Net and Ajax Control Toolkit

and also a very quick paging in repeaters or grids than i ever developed in my web apps

like this website [URL]

so i need to know which technology used to achieve this this website is developed using .net

but i need to know is this needs another technology to learn (from where can i learn it)

or is it just asp.net + ajax or whth other technology is it MVC

also i want to know if MVC is better than asp.net + ajax in concern with performance

View 5 Replies

Web Forms :: How To Make Asp:menu Tabs With Round Top Corners

Oct 19, 2010

I am using asp:menu control to display horizontal menu.I need to display tabs with rounded top corners.

View 4 Replies

AJAX :: Make Tabs Dynamically Generate Faster?

Feb 12, 2010

I am using the tab control and basically I have 4 buttons. Each button will load a seperate ascx control into a brand new tab. After about 4 tabs, since it has to regenerate all 4 tabs, the speed in order to add tabs just becomes too long for my tastes. Is there any way to remedy this and make it go faster?

EDIT2:Using Internet Explorer 7.0 and 8.0

EDIT: Some Code, I store the i in viewstate and loop through this every time for each panel per regeneration

private void BuildNewTab(int i)
{
TabPanel newPanel = new TabPanel();[cod]....

View 1 Replies

Is It Possible To Make JSON Requests Using Fiddler's Request Builder

Apr 7, 2010

I keep getting a Request format is invalid.

Here's the raw http that get's sent:

[code]....

View 1 Replies

How Does IIS Persist A User's Identity From Page To Page In An Application

May 28, 2010

Web pages are, by nature, state-less objects. When you click from page to page in an ASP.net application, each request for a page is treated as a brand-new request. We use things like cookies, session-variables, and query strings to maintain state from page to page.

When you log in to an ASP.net web application using Windows Authentication, how does IIS persist your identity between pages?

View 3 Replies

How To Persist Page State Across Pages

Mar 24, 2011

I need a way to save and load the Page State in a persistent manner (Session). The Project i need this for is an Intranet Web Application which has several Configuration Pages and some of them need a Confirmation if they are about to be saved. The Confirmation Page has to be a seperate Page. The use of JavaScript is not possible due to limitations i am bound to. This is what i could come up with so far:

[code]....

I can't seem to find a way to load the Page State after being redirected from the Confirmation.aspx to the PageToConfirm.aspx.

View 1 Replies

MVC :: Persist Viewdata That Changes In The Master Page?

Dec 21, 2010

I have a nested master page with radio button controls and one or two dropdowns (depending on the radio button chosen). The dropdown(s) contains either carriers or our customers. If the dropdown type is customer, we display another dropdown to determine what type of customer (current, former, or test). Once a carrier or customer is chosen, an action is called to "set" the customer information in the session. This all works great. The problem is trying to persist the dropdown type, customer type, and customer or carrier chosen over each action/view. Once a customer or carrier is set, the user can chose different menu options (also on the master page) to perform different tasks against the customer or carrier data. I am still fairly new to asp.net mvc and to jquery and ajax. I have racked my brain and tried several different scenarios to get this to work. I tried a master view model which got inherited by the other view models. I couldn't get that to work. Now I am trying a base controller and just setting things in viewdata, but I still can't get it to work once I move to next controller/action/view. Can someone please let me know the best practice for doing this? And or tell me where I'm going wrong? I am at a pretty critical point in this project and am running out of time. The code follows:

Global.asax:

[Code]....

Site.Master:
[Code]....

View 4 Replies

MVC :: Jquery Tabs - Second And Third Tabs Do Not Fire Any Event On Button Click?

May 24, 2010

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.

View 12 Replies

Selectively Redirecting HTTP Requests To HTTPS Requests?

Jun 18, 2010

What's the simplest and most effective way to selectively redirect HTTP requests to your ASP.NET page to its HTTPS equivalent? For example, if my page site URL is [URL], I want to redirect some (or all) page requests to [URL] What's the easiest way to do that?

View 2 Replies

State Management :: How To Persist A Class Object When Page PostBack

Oct 5, 2010

i have created a user control UserControl.ascx, in Code behind file of UserControl.ascx i have created an object of a class MyClass.cs,

Like

if(!Page.IsPostback) {
objMyClass= new MyClass();
}

but when i click on button of UserControl.ascx page and try to access objMyClass object then it set as null, so how to persist MyClass object when page PostBack, i wanted to keep object persist till the user access the page, when user goes out of this page then object should distroy?

[code].....

View 9 Replies

C# - Copying The Entire Telerik Docklayout From One Page To Another Page

Sep 20, 2010

I'm trying to copy the docklayout from one page and try to recreate it in another page.

Here is my code-

protected void dockLayout_SaveDockLayout(object sender, DockLayoutEventArgs e)
{
List dockState = dockLayout.GetRegisteredDocksState();
JavaScriptSerializer ser = new JavaScriptSerializer();
Session["dock"] = ser.Serialize(dockState);
}
protected void btnSave_Click(object sender, EventArgs e)
{
Response.Redirect("receivingPage.aspx");
}
receivingPage.aspx.cs
public partial class receivingPage : System.Web.UI.Page
{
private List dockStates;
private RadDockLayout dockLayout;
protected override void OnInit(EventArgs e)
{
dockLayout = new RadDockLayout();
dockLayout.LoadDockLayout += new DockLayoutEventHandler(dockLayout_LoadDockLayout);
JavaScriptSerializer ser = new JavaScriptSerializer();
dockStates = ser.Deserialize>(Page.Session["dock"].ToString());
for (int i = 0; i < dockStates.Count; i++)
{
RadDock dock = new RadDock();
dock.ID = string.Format("RadDock{0}", i);
dock.ApplyState(dockStates[i]);
dockLayout.Controls.Add(dock);
}
this.Controls.Add(dockLayout);
}
protected void Page_Load(object sender, EventArgs e)
{
}
void dockLayout_LoadDockLayout(object sender, DockLayoutEventArgs e)
{
foreach (DockState state in dockStates)
{
e.Positions[state.UniqueName] = state.DockZoneID;
e.Indices[state.UniqueName] = state.Index;
}
}
}

But I'm getting emtpy docklayout in receivingPage.aspx.

View 1 Replies

MVC :: Handling Unauthorized Page User Requests By Displaying A NoAccess Page?

Apr 12, 2010

I have implemented a custom ErrorController with NoAccess Action returning the View "~/Error/NoAccess" (not inside the Shared folder).

I have also modified the web.config file and add a custom error "<error statusCode="403" redirect="~/Error/NoAccess" />" node.

Each time i enter to an anauthorized page, i get redirected to the logon page (even though i am already logged on). I would to modify the default asp.net mvc authorization functionality and each time a user tries to enter a page that is not authorized to get an "NoAccess" page instead of redirecting to the login page.

View 7 Replies

TabStrip Not Displaying At All?

Jul 14, 2010

I have a RadTabStrip that just refuses to show on page load or reload. WHen My page load, the control is supposed to be loaded in the back with data and then displayed on the page. That isn't happening. The process runs through as expected in the server side but the rabtab is not displayed at all.
Below is my code.

If Not IsPostBack Then
If (intCurrent > 0) Then
If obj.key <> -1 Then
im objCo As coreelement = coreelement.GetInfo(obj.key)
Dim cradTab As New RadTab(objCo.desc, objCo.rkey.ToString)
rtab.Tabs.Add(cradTab)
rtab.Enabled = True
rtab.Visible = True
rtab.Skin = GetUserSettings.SkinDialog
rtab.EnableAjaxSkinRendering = True
End If
End If
End If

View 1 Replies

AJAX :: TabStrip Not Displaying At All?

Jul 16, 2010

I have a RadTabStrip that just refuses to show on page load or reload. WHen My page load, the control is supposed to be loaded in the back with data and then displayed on the page. That isn't happening. The process runs through as expected in the server side but the rabtab is not displayed at all. Below is my code. I did notice that every so often,when I click F5 the tabs display, only the only way I get them to refresh is to refresh the Page using F6 again.

[Code]....

View 3 Replies

AJAX :: Tabstrip Placement Both On Top And Buttom?

Sep 7, 2010

I use TabContainer of Ajax Toolkit and want to have tabs both in buttom and top of tab container. So that we have tabs in both buttom and top. also is it possible to have other elements besides tabs? I mean If I have a datalist in tabs and want to put their paging on header and footer of tab container just beside the tabs.

View 3 Replies







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