Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
Dear All!

I am quite newbie and don't know how to retreive the values on a custom UserControl in Edit mode. I have the following grid structure:

....
<MasterTableView ShowFooter="false" DataKeyNames="ID" GridLines="None" CommandItemDisplay="Top">
                        <Columns>
                            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" />
                            <telerik:GridTemplateColumn AllowFiltering="false">
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" ID="btnDelete" Text="Delete" />
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn UniqueName="ID" DataField="ID"  DataType="System.Int32" Visible="false" />
                            <telerik:GridBoundColumn DataField="AnswerTypeLabel" UniqueName="AnswerTypeLabel"
                                HeaderText="Answer Type" DataType="System.String" />
                            <telerik:GridBoundColumn DataField="AnswerMeasureLabel" UniqueName="AnswerMeasureLabel"
                                HeaderText="Measure Type" DataType="System.String" />
                              </Columns>
                        <EditFormSettings UserControlName="CustomEditControl.ascx" EditFormType="WebUserControl">
                            <EditColumn UniqueName="EditCommandColumn1">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
....

And I want to access to the edited GridBound and GridTemplate columns values on the Code Behind file of the UserControl file (CustomEditControl.ascx)

I am sure it's possible but don't know how.

thanks,
G.
Princy
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
195 views
I have an input form with several fields and a "Save" and "Cancel" button at the bottom of the form. When using the formdecorator to decorate the buttons the tab index is incorrect. When a user tabs to the "Save" button the focus is set first to the formdecorator overlay then the next tab sets focus to the button behind the overlay.  Has anyone found a way to set the tab index of the decorated button so that the user does not have to push tab twice to get a past a single button?
Tervel
Telerik team
 answered on 01 Aug 2008
1 answer
137 views
Hello,

How would I bind the following XmlDocument to a hierarchical RadGrid (3-levels)?

<xml> 
  <Countries> 
    <Country CountryId="4AB5B619-FC7B-42A1-A82A-D8181EF20F1E" EN="Canada"
      <Provinces> 
        <Province ProvinceId="F75CBB13-8A86-4DE8-81E5-AADF2EEB3827" EN="Ontario"
          <Cities> 
            <City CityId="3478D2E5-1A97-4456-95BF-459E49A55D20" EN="Kitchener" /> 
            <City CityId="C4217DBB-BB4C-438A-8D7C-78A330CEF73D" EN="Waterloo" /> 
          </Cities> 
        </Province> 
      </Provinces> 
    </Country> 
  </Countries> 
</xml> 

I would like to be able to be able to display the "EN" field, here is what I have so far:

<Telerik:RadGrid ID="dgCountries" runat="server" OnNeedDataSource="dgCountries_NeedDataSource" AllowMultiRowEdit="False" AutoGenerateColumns="False" SkinID="Default" Width="800"
    <MasterTableView HierarchyLoadMode="Client"
        <DetailTables> 
            <Telerik:GridTableView runat="server" HierarchyLoadMode="Client" Width="100%"
                <DetailTables> 
                    <Telerik:GridTableView runat="server" Width="100%"
                        <Columns> 
                            <Telerik:GridTemplateColumn> 
                                <ItemTemplate> 
                                    <%# Eval("Name") %> 
                                </ItemTemplate> 
                            </Telerik:GridTemplateColumn> 
                        </Columns> 
                    </Telerik:GridTableView> 
                </DetailTables> 
                <Columns> 
                    <Telerik:GridTemplateColumn> 
                        <ItemTemplate> 
                            <%# Eval("Name") %> 
                        </ItemTemplate> 
                    </Telerik:GridTemplateColumn> 
                </Columns> 
            </Telerik:GridTableView> 
        </DetailTables> 
        <Columns> 
            <Telerik:GridTemplateColumn> 
                <ItemTemplate> 
                    <%# Eval("Name") %> 
                </ItemTemplate> 
            </Telerik:GridTemplateColumn> 
        </Columns> 
    </MasterTableView> 
</Telerik:RadGrid> 

As of right now it is producing "Countries" for each level?

Any help would be greatly appreciated!

Cheers,
Timothy
Sebastian
Telerik team
 answered on 01 Aug 2008
1 answer
125 views
Hi,
Have you find a way to use rad menu over frames? What i need is, to put the menu on top frame, and somehow float child menus over another frame. Is this possible?

with kind regards,
Minna
Atanas Korchev
Telerik team
 answered on 01 Aug 2008
2 answers
166 views
Hi,

I have radTabStrip and radPageView on my page. I also use radWindows. Some of my tabs open radWindow and some just change PageViews page.

Problem is when i click tab that opens window it stays selected and i cant click it again when closed the window. If i click some other tab first then it works just fine.

I tried to unselect clicked tab in OnTabSelecting. It works fine, it opens window and then unselects tab. But then i have javascript that have to execute when i leave one specific tab. That code is in OnClientTabUnSelected and doesnt get executed.

Any ideas how to accomplish that?

-Arsi
Arsi Halttunen
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
235 views
I've tested this on the online example:

http://www.telerik.com/demos/aspnet/prometheus/Scheduler/Examples/BlackPearl/DefaultCS.aspx

Double click on the all day area at the top, go to advanced enter mode, enter 3/27/2007 for the start day and 3/29/2007 for the end date and click insert.  Notice that if you look at the day view for 3/27/2007 and 3/28/2007 the appointment is shown, but it is not shown on 3/29/2007.

Now, if you double click in the time area (say 10:00 AM) and go to the advanced mode, enter 3/27/2007 for the start day and 3/29/2007 for the end day, then click the all day checkbox, and then click insert.  Now notice that this appointment will show up on all 3 days.

It seems that there is a problem with using the All Day portion of the calendar to enter appointments.  Has anyone else seen this?

Thanks
Simon
Telerik team
 answered on 01 Aug 2008
3 answers
122 views
Hi,

I read the article about using the CliendDataString to pass values from the client to the server side when combo box Item requested is fired. Im trying to use the same thing on two dependant combo boxes that both use load on demand feature via the item requested event. the second combo box items are dependant on the item selected in the first combo box, so when the an item selected in the first combo box I set the ClientDataString to the appropriate value, so when I drop the second combo it uses the "e.ClientDataString" to populate the items, and that works correctly for first time. However when I re select new value in the first combo then drop the second combo, it does not call the items requested event again. And the items from the first load are still there which is incorrect, so why is that happenning? and how to set it up , so whenever the second combo is droped it will call the items requested event to populate the items?

Thanks for the help
Rosi
Telerik team
 answered on 01 Aug 2008
3 answers
189 views
"Support for IIS7 integrated modeNow the HttpModule has been reworked to integrate IIS7 support. Memory optimization relies on the default .NET Framework 2.0 engine."

What exactly does it mean that memory optimzation relies on the default .NET 2.0 engine?  Does it mean that uploads use up system memory rather than saving to a temp file?
Erjan Gavalji
Telerik team
 answered on 01 Aug 2008
2 answers
120 views
Hi,

I am using BLUE SKIN for datagrid. The problem i face is...the header row background picture does not have  enough height to hold the entire lettering. How can i solve this??

Thanks
John

Shinu
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
137 views
I have a login form with Rad Ajax Manager on it.
If I set a panel to update via the manager, I get a massive delay on the code that executes after it. If I have the ajax manager on the page, but not used, I dont get the delay.

The javascript that executes after the ajax call is a image preloader, and it gets it's values from an array that is populated via the manager (after authentication). The manager is used to pass the values in the array no matter if it is used to actually do a ajax call.

Does anyone have any ideas why this massive delay could be occuring?
Sebastian
Telerik team
 answered on 01 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?