Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
116 views
Hello,
I have media player on main site, when I open radWindow, the media player is still visible through radWindow, even when I set "Modal" property on true in radwindow.

Please, help me.
jay
Top achievements
Rank 1
 answered on 23 Jun 2011
10 answers
240 views

In page load i'm  dynamically binding  some records in radgrid ,
if that binded  values id how to get in radgrid_itemcommand event
reply soon


Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 23 Jun 2011
2 answers
120 views
Hello everyone,

I have a listbox with template and I need to do search in the item list.
I´m using this command: (without sucess)
RadListBox_Diretorias_0301_a.FindItemByValue

I´m trying to read item content using this command: (without sucess)
RadListBox_Diretorias_0301_b.Items[j].Value.ToString()

Any help would be appreciated.

Thanks

Daniel

-------------------
asp.net code
-------------------
<telerik:RadListBox ID="RadListBox_Diretorias_0301_a" runat="server" Skin="Sunset"
                                                                TransferToID="RadListBox_Diretorias_0301_b" AllowTransfer="True" AllowTransferOnDoubleClick="True"
                                                                EnableDragAndDrop="True" LoadingPanelID="RadAjaxLoadingPanel1" SelectionMode="Multiple"
                                                                Culture="pt-BR" Height="200px" Width="100%" BackColor="Transparent" AllowAutomaticUpdates="True"
                                                                DataKeyField="dirempresa" DataSortField="empnome" DataSourceID="SqlDataSource_Diretorias_0301x"
                                                                DataTextField="dirnome" DataValueField="dircodigo" OnClientTransferring="onClientTransferring"
                                                                AutoPostBackOnTransfer="true">
                                                                <ItemTemplate>
                                                                    <div>
                                                                        <%# DataBinder.Eval(Container.DataItem, "dirnome")%>&nbsp;-&nbsp;<%# DataBinder.Eval(Container.DataItem, "empnome")%></div>
                                                                </ItemTemplate>
                                                            </telerik:RadListBox>
-------------------
C# code
-------------------
public class Diretorias
    {
        public string empnome { get; set; }
        public string dirnome { get; set; }
    }

    void RadListBox_Diretorias_0301_a_ItemDataBound(object sender, RadListBoxItemEventArgs e)
    {
        var serializedDataItem = GetSerializedDataItem((DataRowView)e.Item.DataItem);
        e.Item.Attributes.Add("dataItem", serializedDataItem);
    }

    private string GetSerializedDataItem(DataRowView view)
    {
        var info = new Diretorias()
        {
            empnome = (string)DataBinder.Eval(view, "empnome"),
            dirnome = (string)DataBinder.Eval(view, "dirnome")
        };

        return Serializer.Serialize(info);
    }
Daniel Aquere
Top achievements
Rank 2
 answered on 23 Jun 2011
2 answers
101 views
How can I capture the SelectedIndexChanged event on the server side for a DropDownList within a Tab Template?  The event does not seem to fire.  I've found some similar posts for other controls, but I can't seem to make any sense out of this.

I would appreciate your help.

Al
alo
Top achievements
Rank 1
 answered on 23 Jun 2011
2 answers
101 views
Dear Telerik Staff,

lets say, in my database, I have a field / colum called "Location" in order to store the location of an appointment as simple text.

I know that I can add an attribute to the advanced edit form of the scheduler - in this case "Location". Then, RadScheduler creates a simple Textbox field in order to store the information about the location of an appointment as text.

That is what I needed. But RadScheduler names the label besides the textbox exactly like the field, it is bound to. Is there a way to replace the default label, so I can add an alias for a attribute, I have added, for example "Ort" (German) or "Where the appointment takes place"??
 
Would be happy to hear from you, soon.

Best regards,
Marco
Marco Beyer
Top achievements
Rank 1
 answered on 23 Jun 2011
1 answer
62 views
Hi there,
    We use a rad date time picker  which gives us some sort of error in some particular machines. The date format we used is MM/dd/yyyy and culture is English (United States). But in some machines, radPicker.SelectedDate property still gives dd/MM/yyyy format. Below is the source of the same for your reference

<

 

telerik:RadDatePicker ID="radPicker1" runat="server" Culture="English (United States)"

 

 

EnableTyping="True">

 

 

<Calendar runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x">

 

 

</Calendar>

 

 

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>

 

 

<DateInput runat="server" DisplayDateFormat="dd-MMM-yyyy" DateFormat="MM/dd/yyyy">

 

 

</DateInput>

 

 

</telerik:RadDatePicker>

 


Could you please find the solution for it ?
Thanks
Shafi
Martin
Telerik team
 answered on 23 Jun 2011
2 answers
85 views
Hi

I am doing some research on what we will need to do to localize our product in the future.

I have read your information on localizing a RadGrid, and it seems straightforward.

I do have one question, which I will get to in minute.

It seems you require the setting of the Culture attribute within the grid defintion.

We are currently looking at allowing the user to switch languages on-the-fly.

To do this with non-telerik controls I have to make sure the Culture and UICulture settings on the page are set to auto.

I then use the tool available in Visual Studio to Generate Local resources for my page.

This causes meta tags to be applied to the native asp tags.

If I do all this and create separate language versions of my resx files I can change languages
by using the language options setting in my browser.

How do  I cause Telerik controls to switch languages dynamically?

TIA
Sebastian
Telerik team
 answered on 23 Jun 2011
1 answer
58 views
hi, i have a radgrid with custom paging then i made a user control edit form to update when you change in grid pages and press edit the values in user control will be for different row.the value of gridInsertion object will be different from the row i pressed edit on can any one help please,,,thanks
Daniel
Telerik team
 answered on 23 Jun 2011
1 answer
55 views
Hello,
Is it possible to display folders with a virtual name and not the real name?
for exmaple my folder names are "fldr1, fldr2, flrd3"  but i want it to display "files, music, photos"
but I need to retrieve the name of the real folder when the files is opened not the virtual name.

or can it show the parent folder as part of the name of the folder "parent/folder" ?

Thank you
Dobromir
Telerik team
 answered on 23 Jun 2011
5 answers
174 views
Hello I'm using Sum function on GridNumericColumn and it works well but i want to add some text to footer like "Sum :" i tried using FooterText="Sum :" and FooterAggregateFormatString="Sum: {0:C}" but nothing happen .
any ideas?
Thanks.
Iana Tsolova
Telerik team
 answered on 23 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?