Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
46 views
I wish to have a separate Pager for RadGrid.
I do not want to use the integrated pager of the RadGrid.

I was trying to implement it with RadDataPager. But it does not seem to work.

Am I trying the right thing?

Is there any other way to do that? 
Pavlina
Telerik team
 answered on 08 Jan 2015
1 answer
58 views
Im having an issue with the RadEditor with modernizr (2.8.3) on the page in IE8 - if the Editors ContentAreaMode is set to "Div" - When I click any of the toolbar buttons 'bold, italic, underline' etc I get an "Unhandled exception at line 10441, column 4"

htmlfile: Invalid argument

the line is...

"do{m.insertBefore(o,o.previousSibling);"

Telerik.Web.UI version 2014.2.618.45
Ianko
Telerik team
 answered on 08 Jan 2015
1 answer
184 views
I have a RadComboBox with the Filter set to "StartsWith" and MarkFirstMatch enabled.  When typing text into the drop down, the items filter based on the text I type but if I tab away from the control the entered text remains in the dropdown with no item selected.  If I remove the Filter the first matching item is selected when I tab away from the control.  I would like this same functionality but with filtering enabled.  I suspect these two bits of functionality don't work together but I have been searching around and haven't found anything definitive.

Attached images shows the items being filtered and the result after tabbing away from the dropdown.
Peter Filipov
Telerik team
 answered on 08 Jan 2015
5 answers
487 views
I see there is a property of the RadMaskedTextBox called RequireCompleteText which will verify the full mask is satisfied. Is there a way to only enable this if a value has been entered? Basically, I want the user to be able to submit the form with either nothing in the field, or the complete text if they decide to enter a value. Right now, an empty field fails the RequireCompleteText validation.
Kostadin
Telerik team
 answered on 08 Jan 2015
2 answers
160 views
Hi..

I have a RadTab Strip with Multipage setup. On 1st tab I have a radgrid and second tab is a google map. The select element is used to set start and end points of the route in the google map..

Using IE11 the select element will not select an option when it is on the multipage. Moving the select element off the multipage and it works fine in IE. Obviously this all works in chrome and firefox. only IE is the issue but need this to work for IE. Moving the select element off the multipage is a last resort but I would like to get this working as it should.

Can anyone tell me why this select element is not working in IE.. thx.. Dave.
 
         <telerik:RadTabStrip ID="RadTabStrip1" AutoPostBack="true" MultiPageID="RadMultiPage1" OnTabClick="RadTabStrip1_TabClick" Skin="Windows7" SelectedIndex="0" runat="server">
<Tabs>
<telerik:RadTab Text="Jobs" Width="200px" Selected="True"></telerik:RadTab>
<telerik:RadTab Text="Route" Value="route" Width="200px"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
<telerik:RadPageView runat="server" ID="RadPageView1">
</telerik:RadPageView>
<telerik:RadPageView runat="server" ID="RadPageView2" >
<div style="float:left">
<br />
<strong>Start: </strong>
<select id="start" onchange="calcRoute();">
<option value="London">London</option>
<option value="Bristol">Bristol</option>
<option value="Glasgow">Glasgow</option>
<option value="Birmingham">Birmingham</option>
</select>
<strong>End: </strong>
<select id="end" onchange="calcRoute();">
<option value="London">London</option>
<option value="Bristol">Bristol</option>
<option value="Glasgow">Glasgow</option>
<option value="Birmingham">Birmingham</option>
</select>
<br /><br />
</div><div id="test" style="float:left"></div>
<div id="test2" style="float:left"></div>
<div id="map-canvas" style="float:left; width: 950px; height: 500px;"></div>
<div id="directionsPanel" style="float:left;width:950px;height: 100%"></div>
</telerik:RadPageView>
</telerik:RadMultiPage>
Dave
Top achievements
Rank 1
 answered on 08 Jan 2015
1 answer
58 views
I have a Column Series with a label overlay that can be hard to read if the graph range is too large and the amount of a particular column too small. As you can see in the attached image, if the value is $0 then I am not displaying the label at all, otherwise it will show. The problem is this graph range can be very large and some of the column can be very short, leaving the label hanging out above the column.

What I'd like to do is have the text invert colors based on what color it overlays or (probably a much simpler solution) just determine the the height of the column and change the text color manually if it's below a certain height or height percentage.

I understand this is a longshot and the solution is probably far too complicated to even put the effort into implementing so a third option would be adding a background color to just the label.

Any help is appreciated.
Danail Vasilev
Telerik team
 answered on 08 Jan 2015
8 answers
529 views
I have the following code. When clicked on the pencil icon, edit form appears. How to get the value of the Details Table Column into the code behind. Which event(UpdateCommand??) should i use in the code behind?


<
MasterTableView Width="100%" DataKeyNames="ModId" AllowMultiColumnSorting="True" HeaderStyle-Font-Size="14px" HeaderStyle-Font-Bold="true" >                               
<DetailTables>
  <telerik:GridTableView DataKeyNames="ModId" AutoGenerateColumns="false" Width="100%" HeaderStyle-Font-Size="12px" HeaderStyle-Font-Bold="true" HeaderStyle-BackColor="#c0c0c0" AlternatingItemStyle-BackColor="#cccccc" >
  <ParentTableRelation>
  <telerik:GridRelationFields DetailKeyField="ModId" MasterKeyField="ModId" />
                                                                                    </ParentTableRelation>                                        
  <Columns>
    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1">
    <HeaderStyle Width="20px" />
    <ItemStyle CssClass="MyImageButton" />
    </telerik:GridEditCommandColumn>
    <telerik:GridBoundColumn SortExpression="IssuedDate" HeaderText="Issued Date" readonly="true" DataField="IssuedDate" ItemStyle-Width="200px">
    </telerik:GridBoundColumn>
Peter
Top achievements
Rank 1
 answered on 08 Jan 2015
5 answers
265 views
I have a JavaScript function that calls mastertable.fireCommand("RebindGrid") on several grids in that main function; however, when the function is called some of the grids refresh (rebind) and some do not?

Code:

function CloseAndRefresh () {

var masterTable1 = $find("<%= radGrid1.ClientID %>").get_masterTableView();
var masterTable2 = $find("<%= radGrid2.ClientID %>").get_masterTableView();

masterTable1.fireCommand("RebindGrid");
masterTable2.fireCommand("RebindGrid");

}

Now, here the radGrid2 data appears to be updated; however, the radGrid1 retains the same data and does not appear to update. One note is that my CloseAndRefresh() function is being called from a RadWindow OnClientClose javascript call. Now, in the RadWindow I am changing the edited item to go from one grid to the other.

Please help!


Steve Holdorf
Michael
Top achievements
Rank 1
 answered on 07 Jan 2015
2 answers
248 views
I am using an object data source to filter, sort and use custom paging.  The only problem I am having is with the filter for a data/time field.  The data access code called by the object datasource control for the rad grid returns data and a row count 44.  However, no data is displayed in the grid. 

This problem does not make any sense to me.  If the data access code returns rows, the rows should display in the grid.  Data displays when I filter on any row but the data time field.  What could be causing this problem?  I have never worked with filtering a date time field in a rad grid before.
Phillip
Top achievements
Rank 1
 answered on 07 Jan 2015
2 answers
350 views
I am using the current version of the Telerik UI dll (version 2014.1.225.45)
This is the definition of my RadEditor on my page:


The problem I am having is that when I save the content OR switch to "Design" view and back to the "HTML" view, it is stripping my <body></body> and <html></html> tags

What I want is for the editor to not mess with what I enter in any way.  I thought I had specified this in the definition of the editor on the page.  What properties do I have to set so that the editor does not change anything?

 
<telerik:RadEditor ID="reContent" runat="server" Skin="Office2010Blue" Height="850px" Width="100%" StripFormattingOptions="MSWordRemoveAll"<br>                                ContentAreaMode="Div" EmptyMessage="Add Content Here - Content is Required" StripFormattingOnPaste="MSWordRemoveAll"<br>                                ClientIDMode="Static" NewLineMode="Br" OnClientLoad="OnClientLoad" AllowScripts="true" ContentFilters="None"><br>                            </telerik:RadEditor>


Thanks,
Jim
Jim
Top achievements
Rank 1
 answered on 07 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?