Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
103 views
I am working with radgrid pulling the data relating to groups and subgroups using MasterTableView and detailtable view.I am using edit on row click to update the text by clicking on another row. If I click on the MasterTableView rows and edit something and immediately click on the row belongs to mastertableview,It is woring fine.Means I am out of focus and my previous row is displaying normal way and the row clicked currently is in the edit mode.If I click on the row belongs to detailtableview,the previous row is still staying in edit mode and the current row clicked also in edit mode.It is happening in all the browsers as well as in all versions.i.e IE 8 or 9, Crome as well.

Also some times if I click on rows of  the detailedtableview,corresponding items in the mastergridview are becoming blank.


   var hasChanges,editedRow;

 function RowClick(sender, eventArgs) {
            if (!hasChanges) {
                if (eventArgs instanceof Object == true) {
                    editedRow = eventArgs.get_itemIndexHierarchical();
                }
                else {
                    editedRow = eventArgs;
                    if (parseInt(editedRow) >= 0)
                        editedRow = editedRow - 2;
                }

                 $find("<%= ClassGrid.ClientID %>").get_masterTableView().editItem(editedRow);

                document.getElementById('<%=hfEditRow.ClientID%>').value = editedRow;
            }

            CallAjaxManagerUpdate();
        }
           
  function CallAjaxManagerUpdate() {
            if (editedRow && hasChanges) {
                $find("<%=RadAjaxManager1.ClientID %>").ajaxRequest(editedRow);
                hasChanges = false;
                document.getElementById('<%=hfEditRow.ClientID%>').value = "";
            }
        }


Any help can be appreciated.

Thanks
Murthy
Konstantin Dikov
Telerik team
 answered on 01 Oct 2013
4 answers
118 views
Hello

I use Radeditor and it work good on IE9 and FireFox v 23.0.1 but on Chrome v29.0.1547.76 I had a problem, when I select text in content I want to resize font then i click on RealFontSize and choose fontsize i want and Radeditor delete that text.

Hopefully, someone out their can respond quickly....
Thank you very much

<telerik:RadEditor ID="reDesc" runat="server" EnableResize="false" Width="640px" Height="250px">
                            <Tools>
                            <telerik:EditorToolGroup>
                                <telerik:EditorTool Name="Bold" />
                                <telerik:EditorTool Name="Italic" />
                                <telerik:EditorTool Name="Underline" />
                                <telerik:EditorTool Name="JustifyCenter"/>
                                <telerik:EditorTool Name="JustifyFull"/>
                                <telerik:EditorTool Name="JustifyLeft"/>
                                <telerik:EditorTool Name="JustifyRight"/>
                                <telerik:EditorTool Name="imageManager"/>
                                <telerik:EditorTool Name="linkManager"/>
                                <telerik:EditorTool Name="tablewizard"/>
                                <telerik:EditorTool Name="pastefromword" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="ForeColor" />
                                <telerik:EditorTool Name="BackColor" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="FontName" />
                                <telerik:EditorTool Name="RealFontSize" />
                            </telerik:EditorToolGroup>
                        </Tools>
                        <ImageManager
                        UploadPaths="~/Admincp/images"
                        DeletePaths="~/Admincp/images"
                        ViewPaths="~/Admincp/images"
                        MaxUploadFileSize="300000"/>
                        <Content></Content>
                    </telerik:RadEditor>

Nhan
Top achievements
Rank 1
 answered on 01 Oct 2013
1 answer
80 views
Hi,

Is it possible to show rad confirmation window from the server-side on a postback event, instead of Javascript ?

Thanks,
Stalin
Marin Bratanov
Telerik team
 answered on 01 Oct 2013
3 answers
150 views
Hello, I'm using the RadEditor and the default bullets are circle, empty circle, square. I'd like the default symbols to be blue square, dash, then small circle. How would I do this?

Thanks,
Scott
Marin Bratanov
Telerik team
 answered on 01 Oct 2013
6 answers
361 views

Hi,


I use Selenium IDE 1.4.1 to test my website. This all works fine except for some specific Telerik input controls that are used. To be more specific, I cannot set values in the RadNumericTextBox (Telrik control) with Selenium IDE. Several topics are available where most of the time getEval with SetValue is proposed as a solution. However, none of the solutions work for me...Maybe somebody can put me on the right track?

The control in HTML looks like this: 
<td class="InputColumnField">
<span id="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_wrapper" class="RadInput RadInput_Windows7" style="white-space: nowrap;">
<input id="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_text" class="riTextBox riEnabled InputField" type="text" style="width:125px;" name="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_text" value="1" maxlength="2147483647">
<input id="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0" class="rdfd_" type="text" title="" value="1" style="visibility:hidden;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;">
<input id="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_Value" class="rdfd_" type="text" title="" value="1" name="ctl00$body$Development_userControl$ctl00$ntb__Stage_duration_input__1__0__0" style="visibility:hidden;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;">
<input id="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_ClientState" type="hidden" name="ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_ClientState" value="{"enabled":true,"emptyMessage":"","minValue":0,"maxValue":70368744177664}" autocomplete="off">
</span>
<span id="ctl00_body_Development_userControl_ctl00_ctl08" class="validation" style="display:none;"> Field is required.</span>
</td>

Proposed solution (in several threads):
<tr>
    <td>getEval</td>
    <td>this.page().getCurrentWindow()["ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_text"].SetValue(5);</td>
    <td></td>
</tr>

My basic Selenium command:
<tr>
    <td></td>
    <td>id=ctl00_body_Development_userControl_ctl00_ntb__Stage_duration_input__1__0__0_text</td>
    <td>2</td>
</tr>

This last option seems to put the value inside the textbox. However, this value is not saved. Also when you click on the control the "old" value shows up again (new value is removed).

Does somebody know the right commands and targets for Selenium IDE to deal with the RadNumericTextBox? 

Thanks!
Abhishek
Top achievements
Rank 1
 answered on 01 Oct 2013
2 answers
143 views
HI

im have a radlistbox with the property CheckBoxes="true", and im need to add a new checkbox for a other property in my object class, so im add a itemtemplate with a custom checkbox, and when im clic in the custom checkbox uncheck the checkbox of the radlistbox, how can i fix that?
Israel
Top achievements
Rank 1
 answered on 01 Oct 2013
1 answer
127 views
Hi, 

Nice additions with the movie player and lightbox controls!.. I know it’s only beta - but it doesn’t work on my android device and lightbox only poorly; Tested with stock browser and latest chrome beta.. Hope to see some more "mobile first" :)

/Anders
Deyan Enchev
Telerik team
 answered on 01 Oct 2013
1 answer
121 views
I am having radsplitter and two panes between those i have radsplitbar but i want the thickness of that bar is too less like 2px ?
and it must be movable

if any css for that splitbar is given it will be helpful
Thanks
Vessy
Telerik team
 answered on 01 Oct 2013
3 answers
115 views
I want to display, with a scrollbar JUST for the data rows (not for the entire control) so the header and footer stay where they are (no scrolling).

There seems to be no way to set the scrolling area height if one sets EnableScrolling to true (the default setting). So the web part has scroll bars and the user has to scroll down to get to the paging controls. Looks lame.

Grid Height (%) doesn't have any good effect if it's not set to 0 and EnableScrolling is true. One would expect 100% to show the entire page of the grid, but it just collapses the control to only 4-5 pixels or so. Looks lame.

I can't even set the default page size from 30 to 10. This is REALLY lame - why is this property not available?

Help! I simply want to show a sharepoint list, with paging, with header and footer always displayed, and fitting on the web page without scrolling the web page or the grid.

This is with the product downloaded last week, version 2013.1.220.35.

Marin
Telerik team
 answered on 01 Oct 2013
2 answers
2.1K+ views
Hello Team,

1.I have situation  like these I want bind The "Header Text"  of  All Column to "rad List-box" .. after The Need Data Source  is Binded .

How to get Column Name server side which event is Better for that to write the code.. can Help heir to get the "Column Name " Of  "rad Grid".



Thanks & Regards,
Sairam Pamidi
Sairam
Top achievements
Rank 1
 answered on 01 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?