Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
295 views
hi, 

        I need to make insert/cancel button's visibility is false. Is it possible?
Princy
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
101 views
I am currently setting up recorded Coded UI tests in Visual Studio 2010. I am currently having two issues on the play-back of these tests.

1)    Standard radio buttons are "hidden" prohibiting the testing application from selecting the correct radio button. I think this may have to do with the RadFormDecorator as these are standard .NET Radio Buttons.

2)    The second issue is a similar scenario in that on play-back of Coded UI tests, the testing app is unable to properly select RadListBoxes that feature a checkbox. I have recreated the test in a different area of my application that is a RadListBox without checkboxes, and it functions properly.


Any feedback would be greatly appreciated. Thanks!
Bozhidar
Telerik team
 answered on 05 Jan 2011
1 answer
139 views
Hello,
I have a problem with automatic Time parsing on  the Telerik RadDateInput.
I need to use it as a timeinput coolumn  in a editable Grid. I want to work only with time input in format HH:mm:ss.

If I type in  a letters like 1215  it is parsed correct to 12:15:00, but if i want to type in a Time with seconds  for example 121525 I get the Parse error Symbol.

Only if I type in 12:15:25  with all signs... it works... but this is not a good usability...
Is there a way to allow automatic parsing from letters like 121525 to 12:15:25?


<telerik:RadGrid ID="rdgStoppzeitenSummenkorrektur" runat="server" AutoGenerateColumns="False"
       Height="100%"  AllowSorting="false" AllowMultiRowSelection="False" AllowMultiRowEdit="true" AllowPaging="false"
       EnableLinqExpressions="false" AutoGenerateEditColumn="false"
       GridLines="None" ShowStatusBar="true">     
               <ClientSettings AllowExpandCollapse="false" EnablePostBackOnRowClick="false" Resizing-AllowColumnResize="false"
           EnableRowHoverStyle="true">
           <Selecting AllowRowSelect="false" EnableDragToSelectRows="false" />
           <Scrolling UseStaticHeaders="true" AllowScroll="true" SaveScrollPosition="true" />
       </ClientSettings>
       <MasterTableView Width="100%" EditMode="InPlace" >
           <Columns>         
               <telerik:GridBoundColumn SortExpression="Sponsor" ReadOnly="true"
               HeaderText="Sponsor" HeaderButtonType="TextButton" ItemStyle-Width="100" HeaderStyle-Width="100"
                   DataField="Sponsor" UniqueName="ColumnSponsor">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="Werbemittel" ReadOnly="true" HeaderText="Werbemittel"
                   HeaderButtonType="TextButton" DataField="Werbemittel" UniqueName="ColumnWerbemittel"
                   ItemStyle-Width="100" HeaderStyle-Width="100">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="UWerbemittel" ReadOnly="true" HeaderText="UWerbemittel"
                   HeaderButtonType="TextButton" DataField="UWerbemittel" UniqueName="ColumnUWerbemittel"
                   ItemStyle-Width="40" HeaderStyle-Width="40">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="Werbebotschaft" ReadOnly="true" HeaderText="Werbebotschaft"
                   HeaderButtonType="TextButton" DataField="Werbebotschaft" UniqueName="ColumnWerbebotschaft"
                   ItemStyle-Width="100" HeaderStyle-Width="100">
               </telerik:GridBoundColumn >
               <telerik:GridBoundColumn SortExpression="Wettbewerb" ReadOnly="true" HeaderText="Wettbewerbe"
                   HeaderButtonType="TextButton" DataField="Wettbewerb" UniqueName="ColumnWettbewerb"
                   ItemStyle-Width="100" HeaderStyle-Width="100">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="Person" ReadOnly="true" HeaderText="Spieler"
                   HeaderButtonType="TextButton" DataField="Person" UniqueName="ColumnPerson">
               </telerik:GridBoundColumn>
               <telerik:GridNumericColumn SortExpression="SequenzKlar" ItemStyle-Width="30" HeaderStyle-Width="30"
                   ReadOnly="true" HeaderText="Seq/K" HeaderButtonType="TextButton" DataField="SequenzKlar"
                   UniqueName="ColumnSequenzKlar">
               </telerik:GridNumericColumn>               
               <telerik:GridDateTimeColumn SortExpression="TimeKlar" ReadOnly="true" DataType="System.DateTime"
                   DataFormatString="{0:HH:mm:ss}" HeaderText="Klar" HeaderButtonType="TextButton"
                   ItemStyle-Width="50" HeaderStyle-Width="50" DataField="TimeKlar" UniqueName="ColumnTimeKlar">
               </telerik:GridDateTimeColumn>
               <telerik:GridNumericColumn SortExpression="SequenzAssozierbar" ItemStyle-Width="30" HeaderStyle-Width="30" ReadOnly="true" HeaderText="Seq/A"
                   HeaderButtonType="TextButton" DataField="SequenzAssozierbar" UniqueName="ColumnSequenzAssozierbar">
               </telerik:GridNumericColumn>
               <telerik:GridDateTimeColumn SortExpression="TimeAssozierbar" ReadOnly="true" DataType="System.DateTime"
                   DataFormatString="{0:HH:mm:ss}" HeaderText="Assoz" HeaderButtonType="TextButton"
                   DataField="TimeAssozierbar" UniqueName="ColumnTimeAssozierbar" ItemStyle-Width="50"
                   HeaderStyle-Width="50">
               </telerik:GridDateTimeColumn>               
               <telerik:GridNumericColumn SortExpression="SequenzKlar_Neu" ItemStyle-Width="45"
                   HeaderStyle-Width="45" HeaderText="Seq/K" HeaderButtonType="TextButton" DataField="SequenzKlar_Neu"
                   UniqueName="ColumnSequenzKlar_Neu">
               </telerik:GridNumericColumn>               
               <telerik:GridDateTimeColumn SortExpression="TimeKlar_Neu" DataType="System.DateTime"
                   PickerType="None" ItemStyle-Width="100" HeaderStyle-Width="100" DataFormatString="HH:mm:ss"
                   EditDataFormatString="HH:mm:ss" HeaderText="Klar" HeaderButtonType="TextButton"
                   DataField="TimeKlar_Neu" UniqueName="ColumnTimeKlar_Neu">                   
               </telerik:GridDateTimeColumn>
               <telerik:GridNumericColumn SortExpression="SequenzAssozierbar_Neu" ItemStyle-Width="45"
                   HeaderStyle-Width="45" HeaderText="Seq/A" HeaderButtonType="TextButton" DataField="SequenzAssozierbar_Neu"
                   UniqueName="ColumnSequenzAssozierbar_Neu">
               </telerik:GridNumericColumn>
               <telerik:GridDateTimeColumn SortExpression="TimeAssozierbar_Neu" DataType="System.DateTime"
                   DataFormatString="HH:mm:ss" EditDataFormatString="HH:mm:ss" HeaderText="Assoz"
                   HeaderButtonType="TextButton" PickerType="None" DataField="TimeAssozierbar_Neu"
                   UniqueName="ColumnTimeAssozierbar_Neu" ItemStyle-Width="100" HeaderStyle-Width="100">
               </telerik:GridDateTimeColumn>
           </Columns>         
       </MasterTableView>
   </telerik:RadGrid>


Thanks in Advance

Kind Regards

Fabian

Fabian
Top achievements
Rank 1
 answered on 05 Jan 2011
1 answer
42 views
I'm sure it's up on your site somewhere, but I was looking for the code that went along with this particular webinar:
http://tv.telerik.com/watch/aspnet/webinar/advanced-radgrid-ajax-development-webinar
Is it anywhere up on your site?  Thanks.
Sebastian
Telerik team
 answered on 05 Jan 2011
7 answers
97 views
Hi,

If I rename a Title column to say 'Name' and then reference that column as a lookup from another list containing SPRadgrid then  SPRadGrid throws an exception... the exception stack says that the grid  cannot find the Title column.

Presumably the grid is using the display name rather than the internal name.

Is there a fix on the way for this?

Thanks

Chris




Sebastian
Telerik team
 answered on 05 Jan 2011
3 answers
227 views
 in my radgrid i hv one template column want to find following text box .. How to find in JAVASCRIPT

 <telerik:GridTemplateColumn DataField="GameUPC" HeaderText="UPC" SortExpression="GameUPC"
                                    HeaderStyle-HorizontalAlign="Center" FilterListOptions="AllowAllFilters" AutoPostBackOnFilter="True"
                                    ShowFilterIcon="false" CurrentFilterFunction="Contains" UniqueName="GameUPC">
                                    <ItemTemplate>
                                        <asp:Label ID="lblGameUPC" runat="server" Text='<%#Eval("GameUPC")%>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtGameUPC" onkeydown="return isNumeric(event.keyCode);" Enabled="true"
                                            MaxLength="12" TabIndex="4" runat="server" Text='<%#Eval("GameUPC")%>'></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="reqFieldValGameUPC" runat="server" ErrorMessage="RequiredFieldValidator"
                                           ControlToValidate="txtGameUPC" Text="Please enter Game UPC code."></asp:RequiredFieldValidator>
                                           <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtGameUPC"
                                            ErrorMessage="Invalid UPC." ClientValidationFunction="validateUPC">
                                        </asp:CustomValidator>
                                    </EditItemTemplate>


URGENT
                                    
                                </telerik:GridTemplateColumn>
Princy
Top achievements
Rank 2
 answered on 05 Jan 2011
3 answers
132 views

I am having a strange behavior with my pop-up window. Everything works fine the first time I load the pop-up window. Once the control comes back to the parent page, if the user tries to load the pop-up page again, it does not load correctly. It changes the size of the window and does not function right. If I refresh the page and load the pop-up it works fine.

Below is my window declaration. let me know what I am doing wrong here:

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" 
        Behavior="None"  ShowContentDuringLoad="false">
        <Windows>
            <telerik:RadWindow ID="RadWindowRole" runat="server"  DestroyOnClose="false" OnClientClose="OnClientClose"
                 Behavior="None" ReloadOnShow="true" ShowContentDuringLoad="false"
                Width="975px" Height="545px" Modal="true" />
        </Windows>
    </telerik:RadWindowManager>
Georgi Tunev
Telerik team
 answered on 05 Jan 2011
4 answers
297 views
Hi,

I am using Telerik Q2 2010 release.

I have a strange problem. I have a loding panel on my page and I am using RadAJAXManager to manage the controls I need to refresh and show the loading panel.

The panel loads fine for the first time. But when I click on another button quickly, the loading panel does not show. Please note that, the click of second button has more work to do and it does not finish its job before 4-5 seconds. Still, I set InitialDelayTime="0" for the loading panel. But it did not work.

If I wait for few seconds (approx 10 seconds) between button clicks, the loading panel shows fine. Can you please let me know what I can do for this.

Let me know if you would like to see any code from my page for further investigation.

Thanks
Atit
Atit Thaker
Top achievements
Rank 1
 answered on 05 Jan 2011
0 answers
63 views
Hello Sir,

In my page i have menu control and radgrid.when i select menuitem and click add new record button from radgrid the radgrid dispay editform on top menu item..i want to add on selected menuitem. how can i do this.

thanks
Rizwan Ansari
Top achievements
Rank 1
 asked on 05 Jan 2011
4 answers
199 views
Hi,

Is is possible to have a conditional data export from the grid? For example let's assume we have a grid with 3 columns as shown below and "Export?" column will either have "Yes" or "No" value. If it has "Yes", that record has to be exported to excel else not?

ID  Name   Export?
1    Scott   Yes
2    Parker  No
3   Milan    Yes


Any help would be highly appreciated and wish you a very Happy New Year ahead.

Many thanks

M G


FISCAL
Top achievements
Rank 1
 answered on 05 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?