Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
In my application the resource style mappings are quite dynamic, and I figured out how to add them dynamically, it works.
However, is there a way to "inject" these mappings into the ViewState of the Scheduler when I generate them?
As of now, on some of the postbacks, not all the data gets re-bound and thus the mappings don't get added.  Is there a way to tell the mapping to be injected into the viewState of the control, so it is available on postbacks?
The code which creates the mappings does check to make sure the mapping doesn't already exist.
T. Tsonev
Telerik team
 answered on 28 Jul 2009
1 answer
114 views
Hi, 

I have a RadGrid1 with the following TemplateField in it:

 

<telerik:GridTemplateColumn HeaderText="Number of units" UniqueName = "FldNumberOfUnits">

 

 

<ItemTemplate>

 

 

<asp:Label runat= "server" ID= "FldNumberOfUnits" Text='<%# Eval("FldNumberOfUnits") %>'>

 

 

</asp:Label>

 

 

</ItemTemplate>

 

 

<EditItemTemplate>

 

 

<telerik:RadNumericTextBox runat="server" ID="FldNumberOfUnits" skin= "Office2007" Type = "Number" Text='<%# Eval("FldNumberOfUnits") %>'>

 

 

</telerik:RadNumericTextBox>

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

on editing, in the RadGrid1_ItemCommand eventhandler (e.CommandName = "Update"), i try accessing it like this:

 

"CType

 

(e.Item.FindControl("FldNumberOfUnits"), RadNumericTextBox).Text"

The control gets actually found, but the value I've entered does not. The text property is always an empty string. When I use an asp:TextBox in my EditItemTemplate the newly entered value gets picked.

Any help will be highly appreciated.
Thanks in advance!

 

Martin
Telerik team
 answered on 28 Jul 2009
1 answer
110 views
I am having a problem and I do not understand why it is happening.  I have created a simple interface that will allow an admin to post News Articles to a site and see all the Articles in a list.  The list has the insert ability and a edit ability in it.  When I am  editing the Article the RadTextBoxs that I have are not passing back the proper data.  If I change the data in the text box it is passing the data that was there initially instead of what I changed it too.  Any reason why this is happening?


Thanks,

Kyle
Kyle Jones
Top achievements
Rank 1
 answered on 28 Jul 2009
6 answers
189 views
I have an datalist on my page that bind with datset which showing  records in 4 columns and 2 rows .It means total 8 records are showing currently on the page..
The image and text showing  inside Item template of datalist. ok

Now,
i have a new requirement to use radrotator

there are < previous and next > button on top of the page.

when i click on next buton ,,next records of datalist are shown on the same page. means 9th onwards records shown on dalalist.

rough Idea:
<rotator>
<frame>
     <datalist>
      <item template>
        bind with dataset
      </item template>
      </datalist>
</frame>
</rotator>

<img id="next">
<img id="previous">

How to do that??

Please Help???????


Fiko
Telerik team
 answered on 28 Jul 2009
1 answer
141 views
Hello.

Could you help me to fix problem finding items in grid?
I use RadGrid with pagination to display table information.
A simple binding approach is used. So I have to rebing grid every time after the grids operations are called: paging/sorting/grouping.
I have a list of selected items(DataKeyNames) were selected by user. The restoring performs on Item_Bound event.
Step to reproduce incorrect situation:
1. Select one item in 1 page.
2. Move to second page. The Item_Bound event is fired.
The grid finds item which was selected on first page.  After that selects founded item.
But this item was on the first page. Why does grid find it?
3. Grid displays the second page.There is no exist selected item. 
4. Move to third page. The grid does not find item which was selected on first page.

I think the grid shouldn't find item if this item does not exist on the curent page. Am I right?
Why does grid find item when page is first time post back, and does not find when page is second time postback?

Thanks.
Alex.






Sebastian
Telerik team
 answered on 28 Jul 2009
3 answers
185 views
Is it possible to set more than one control on a page to open a single Window, using the OpenerElementID?
Martin
Top achievements
Rank 2
 answered on 28 Jul 2009
2 answers
99 views
Hi Guys,

I would like to setup my RadMenu (used in DNN) as a sitemap menu in the footer of my site, the same way as you guys have done in the footer of this page.

I have my menu stretching horizontally, but I have two problems:

  1. The submenu items slide upwards.
  2. I don't want it to slide at all but to have the submenu items static the way you have yours below.

Thanks,
James
Georgi
Telerik team
 answered on 28 Jul 2009
3 answers
149 views
I've a treeview with folders containing html templates (can be any valid html content). I'm able to drag and drop those html templates to the RadEditor. What I want to do is to drop the templates at the cursor position in the RadEditor. I'm using pasteHtml and it is always inserting it at the very beginning and not at the cursor position in the editor.
Svetlina Anati
Telerik team
 answered on 28 Jul 2009
2 answers
321 views
Hi

I'm trying to develop a web form for FAQ like the one telerik has on this site wiht an accordion like (click the link to expand or to collapse).
telerik-support.jpg plus a variable length of nodes. 

 I'm new on using telerik controls. I need some sample program to help jump start.

Thanks for your help.


Cherif Diallo
Big Tony
Top achievements
Rank 1
 answered on 28 Jul 2009
1 answer
92 views
I have my progress area inside a rad window like I saw in a post on the forums.  My question though is how can I manipulate the window so that it does not have a title bar, status bar, or behaviors on it.  Basically, I dont want the window to look like a window.  I want something like a splash screen that doesnt have any of those features.  Any help would be great.

Thanks,

Kyle
Fiko
Telerik team
 answered on 28 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?