Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
335 views
Hi, I have a page which uses a RadTapStrip and RadMultiPage object. The tabs and pageviews are created dynamically upon loading of the page. Each tab is set to either a page within my project (e.g. TabPage1.aspx) or to an external URL (e.g. www.google.com). I'm wondering if it's possible to identify when the ContentURL of the RadPageView changes (e.g. the user clicks on a link the navigates it to another URL). Can this history be tracked or saved somewhere as in a cookie or session or something similar?

The goal I'm trying to achieve is to save the current URL of each tab whenever it changes, so that if a full page refresh occurs, the last ContentURL of each tab can be reloaded.

I have read that you can attach an OnLoad event to an Iframe that fires each time the page is loaded, you can then save the current URL in a cookie on the client. However any attempt to re-create this with a dynamically created iFrame or the standard iFrame in the RadMultiPage has failed. Does this approach sound like it's even possible? 
Nencho
Telerik team
 answered on 21 Dec 2012
2 answers
125 views
There's an Xml with programatic definition.
[XmlArray("credentials")]
        [XmlArrayItem("account")]
        public List<CustomData> Accounts
        {
            get;
            set;
        }
 
[Serializable]
    public sealed class CustomData
    {
        [XmlAttribute("CustomerId")]
        public string CustomerId
        {
            get;
            set;
        }
    }

I get:
Customer Id
ALFKI
ANATR
>>>
How can header text be changed?

CUSTOM-HEADER-NAME
ALFKI
ANATR

OnItemDataBound?
OnDataBinding?

Thank you.
Radoslav
Telerik team
 answered on 21 Dec 2012
3 answers
146 views
Is there a way in server side code (vb.net) to go to a specfic row and column in a grid. An example, I have a grid with 20 rows and 10 columns. I would like to go to row 12, column 7 and hi-light that cell without having to iterate through the grid to locate the specfic row/column. Any suggestions would be appreciated.

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 21 Dec 2012
3 answers
857 views
Hi,

How can I change the background color of the title-bar of radwindow. Hope somebody might have done this before. Please share

Allen
Shinu
Top achievements
Rank 2
 answered on 21 Dec 2012
5 answers
132 views
Hi,
I have the below code in Itemcommand. I want to restrict users to enter only 2 rows. And also, if an existing row is deleted and number of rows is within 2, user should be able to add new item. This code is not working

int count = radgrid1.MasterTableView.Items.Count;
                  if (count > 2)
                  {
                      e.Canceled = true;
                      radgrid1r.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None;
                                      
                  }
                  else
                  {
                      radgrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.TopAndBottom;
                  }

Also, i am  clicking on "ADD NEW ITEM" twice to make it disapper.
If the items inserted are 2 then automatically the "add new item" should not be displayed.
How to fix this?
Shinu
Top achievements
Rank 2
 answered on 21 Dec 2012
1 answer
149 views
I tried the EnableAutomaticLoadonDemand technique and it works basically well.  One thing though, I thought it was supposed to cache the full result from the database if I set EnableItemCaching. I ran a SQL Profiler trace and it reruns the query each time, which causes slowness in non-local situations.  The combo does need to post after the user selects something, so the app can continue with the selection they chose.  Is there something else I need to do?

Thanks.

<telerik:RadComboBox ID="CaseRadComboBox" runat="server" DataSourceID="CaseSqlDataSource" DataTextField="FullCaseName" DataValueField="subIdx" enableautomaticloadondemand="true"
    enablevirtualscrolling="true" itemsperrequest="15" Filter="Contains" Width="400px" AutoPostBack="True" enableitemcaching="True" >
</telerik:RadComboBox>
Ed Lance
Top achievements
Rank 1
 answered on 21 Dec 2012
4 answers
703 views
I have a simple 2-column RadComboBox which I'm using strictly as a dropdown listbox.  It's generally working fine except I'd like to do one more thing with it.  After an item is selected then the short Description text (ex. "228", "3900", "850", etc.) is shown in the RadComboBox after it collapses.

But what I'd like to do is display the related text as a suffix.  So, for example, if the first item is selected then rather than just display "228", instead I'd like to display "228 (601-10101 / 4000)".

I tried doing this by setting the RadComboBox's Text property but this failed to achieve it.  I then also tried setting the EmptyMessage property but that didn't work either.

Is there a way I can do it?

Robert
Robert
Top achievements
Rank 1
 answered on 20 Dec 2012
4 answers
432 views
Hi ! I am using this control and looking for some css for it, at the moment it looks odd with my Windows 7 theme. Please refer to the attached screen snip for details.
Aarsh
Top achievements
Rank 1
 answered on 20 Dec 2012
4 answers
792 views
Hi ther,
     I have a situation where I hav to change the text of "check all" string in the radCombobox. Can anybody help me with some goodies :)
Thanks in  advance
RT
Tracy Dryden
Top achievements
Rank 1
 answered on 20 Dec 2012
1 answer
104 views
Hi there,

I am struggling to insert items to the RadComboBox.

I use the following code

protected

 

void cbLocation_DataBound(object sender, EventArgs e)

{

//fill radcombobox

cbLocation.Items.Clear();

cbLocation.Items.Insert(0,

new RadComboBoxItem("<Make choice>", ""));

cbLocation.Items.Insert(1,

new RadComboBoxItem("EPO", "EPO"));

cbLocation.Items.Insert(2,

new RadComboBoxItem("PDC", "PDC"));

}

I get the following error when I click the Update or Cancel button in the Edit form:
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Do you have any idea why the error occurs?

Thanx!

Marcel

Kevin
Top achievements
Rank 2
 answered on 20 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?