Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
88 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
107 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
771 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
87 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
99 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
600 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
354 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
706 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
77 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
3 answers
326 views
Hi,
   i have select top 6 products from database with description and image path and showing them as 6 pics now 
   but i want to show it as slideshow (one large pic with desc).
   what's the best technique and how can I do it?
  sql server db, asp.net using c#
thanks in advance,
M
Sagar
Top achievements
Rank 1
 answered on 20 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?