Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
148 views
I'm attempting to read values from a RadGrid.  I've listed the code below and it works and doesn't produce an error, however, it doesn't read any of the values from the RadGrid.


Protected

 

 

Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click

 

 

 

For Each item As GridDataItem In rgLanguages.Items

 

Dim test As String = item("Language").Text

 

 

 

 

 

 

Next

 

 

 

End Sub

 

Michael
Top achievements
Rank 1
 answered on 03 Dec 2010
1 answer
95 views
hi,

in android emulator the scroller is invisible in radscheduler.. and in blackberry its visible but could not render.. is there any solution for this or are there any different telerik control for mobile devices available in market??
Kamen Bundev
Telerik team
 answered on 03 Dec 2010
4 answers
120 views
Is there any way to capture the click event from a decorated checkbox?
Brad
Top achievements
Rank 1
 answered on 03 Dec 2010
1 answer
101 views
Hi,
My relative path is like ---> "photos/pic1.jpg"... The relative links turns to absolute... I referred to posts and found your following JS function...
function OnClientPasteHtml(sender, args)
{
    var commandName = args.get_commandName();
    var value = args.get_value();
    if (commandName == "Paste")
    {
        var domainName = "http://" + window.location.host; //returns the hostname and port number of the current URL
        ... ... ... ... ...


But the problem is... When it turns to absolute, the URLs become as shown below depending on server.
I have URLs like --> http://www.xyz.com/sms_server1/photos/pic1.jpg  and http://www.xyz.com/sms_live/photos/pic1.jpg

Your following code --> var domainName = "http://" + window.location.host; ///// Returns the hostname and port number of the current URL

But it does not return ---->    sms_server1    OR     sms_live   etc...
How can I replace it...

Thanks,
Piyush
Rumen
Telerik team
 answered on 03 Dec 2010
3 answers
116 views
I'm trying to add in the css but the head is always in low
Telerik.Web.UI.WebResource.axd how do I fix this?
I need my css is upon Telerik.Web.UI.WebResource.axd but
that is what is in the head.
Vasil
Telerik team
 answered on 03 Dec 2010
2 answers
256 views
Hello,
I have editable grid with buttons in form:

<asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Add" : "Update" %>'
CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'


I use my validation and I show validation result outer the grid. How I can prevent closing edit form or insert form. It is possible to repopen edit form when I saved index of last open editform.
Konrad
Top achievements
Rank 1
 answered on 03 Dec 2010
3 answers
31 views
I've been working with this  control, but as you can see in the screen capture something strange happens with the control as it is showing unexpected images and incorrectly positioned, I've tested with both IE and FF and looks the same.

How this can be solved?
I'm using RadControls for ASP.NET AJAX Q3 2010, This is the corresponding code block:

        <telerik:RadEditor ID="RadEditor" runat="server" Height="485px" Width="718px" OnClientLoad="OnClientLoad">
            <Modules>
                <telerik:EditorModule Name="RadEditorStatistics"></telerik:EditorModule>
                <telerik:EditorModule Name="RadEditorDomInspector"></telerik:EditorModule>
                <telerik:EditorModule Name="RadEditorNodeInspector"></telerik:EditorModule>
                <telerik:EditorModule Name="RadEditorHtmlInspector" Visible="False"></telerik:EditorModule>
            </Modules>
            <Tools>
                <telerik:EditorToolGroup Tag="MainToolbar">
                    <telerik:EditorTool Name="Print" ShortCut="CTRL+P" Visible="False"></telerik:EditorTool>
                    <telerik:EditorTool Name="AjaxSpellCheck" />
                    <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F"></telerik:EditorTool>
                    <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" />
                    <telerik:EditorTool Name="Cut"></telerik:EditorTool>
                    <telerik:EditorTool Name="Copy" ShortCut="CTRL+C"></telerik:EditorTool>
                    <telerik:EditorTool Name="Paste" ShortCut="CTRL+V"></telerik:EditorTool>
                    <telerik:EditorToolStrip Name="PasteStrip">
                    </telerik:EditorToolStrip>
                    <telerik:EditorSeparator />
                    <telerik:EditorSplitButton Name="Undo" Width="80px">
                    </telerik:EditorSplitButton>
                    <telerik:EditorSplitButton Name="Redo" Width="80px">
                    </telerik:EditorSplitButton>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorTool Name="AbsolutePosition"></telerik:EditorTool>
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="Bold" ShortCut="CTRL+B"></telerik:EditorTool>
                    <telerik:EditorTool Name="Italic" ShortCut="CTRL+I"></telerik:EditorTool>
                    <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" />
                    <telerik:EditorTool Name="StrikeThrough" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="JustifyLeft" />
                    <telerik:EditorTool Name="JustifyCenter" />
                    <telerik:EditorTool Name="JustifyRight" />
                    <telerik:EditorTool Name="JustifyFull" />
                    <telerik:EditorTool Name="JustifyNone" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="Indent" />
                    <telerik:EditorTool Name="Outdent" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="InsertOrderedList" />
                    <telerik:EditorTool Name="InsertUnorderedList" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="ToggleTableBorder" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup Tag="InsertToolbar">
                    <telerik:EditorTool Name="ImageManager" ShortCut="CTRL+G" />
                    <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
                    <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorTool Name="Superscript" />
                    <telerik:EditorTool Name="Subscript" />
                    <telerik:EditorTool Name="InsertParagraph" />
                    <telerik:EditorTool Name="InsertHorizontalRule" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="FormatCodeBlock" />
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup Tag="DropdownToolbar">
                    <telerik:EditorSplitButton Name="InsertSymbol" Width="80px">
                    </telerik:EditorSplitButton>
                    <telerik:EditorToolStrip Name="InsertTable">
                    </telerik:EditorToolStrip>
                    <telerik:EditorTool Name="ImageMapDialog" Visible="False" />
                    <telerik:EditorSeparator />
                    <telerik:EditorTool Name="ConvertToLower" />
                    <telerik:EditorTool Name="ConvertToUpper" />
                    <telerik:EditorSeparator />
                    <telerik:EditorDropDown Name="Zoom" Width="80px">
                    </telerik:EditorDropDown>
                    <telerik:EditorSplitButton Name="ModuleManager" Width="80px">
                    </telerik:EditorSplitButton>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorDropDown Name="FormatBlock" Width="80px">
                    </telerik:EditorDropDown>
                    <telerik:EditorDropDown Name="FontName" Width="80px">
                    </telerik:EditorDropDown>
                    <telerik:EditorDropDown Name="RealFontSize" Width="80px">
                    </telerik:EditorDropDown>
                </telerik:EditorToolGroup>
                <telerik:EditorToolGroup>
                    <telerik:EditorSplitButton Name="ForeColor" Width="80px">
                    </telerik:EditorSplitButton>
                    <telerik:EditorSplitButton Name="BackColor" Width="80px">
                    </telerik:EditorSplitButton>
                </telerik:EditorToolGroup>
            </Tools>
        </telerik:RadEditor>

Rumen
Telerik team
 answered on 03 Dec 2010
2 answers
165 views
Hi,

I am using RadChart version 2010.2.929.35 . Here is what I would like to accomplish:
I would like to create a scatter plot with a fixed min and max for the X-axis and Y-axis. In this case i want the min/max to be -3/3. The ChartSeriesType that I am using is Point with the following settings:

PlotArea-XAxis-MaxValue=3
PlotArea-XAxis-MinValue=-3
PlotArea-YAxis-MaxValue=3
PlotArea-YAxis-MinValue=-3
PlotArea-XAxis-AutoScale=false
PlotArea-YAxis-AutoScale=false

When the chart gets rendered on my page, the Y-axis display correctly with the min value at the bottom and the max value at the top. For the X-Axis, there seems to be a padding for the min and max. Please see the attached image for refference.

So the question is:
1) Is there a way to force the X-axis to display the min value at the far left and the max value at the far right with out any padding?
2) Also, how can I get rid of the gap to the right of the chart?

Thanks,
Vuthy

Bill
Top achievements
Rank 1
 answered on 03 Dec 2010
3 answers
126 views
Hi,

I would like to know how to add a custom content filter in the RAD editor for MOSS.
I understodd that I need to add a property in the ConfigFile.xml:

<property  name="OnClientLoad">OnClientLoad</property>

Then I need to add a javascript function OnClientLoad and call another function that implements a few standard methods. OK but where should I put this javascript code. Is the MOSSEditorTools.js file suited for this ?

Could you please give me an example of a custom content filter that works with MOSS and RAD Editor full version.

Kind regards,

Jean
Stanimir
Telerik team
 answered on 03 Dec 2010
2 answers
78 views


     Columns with filter templates don't allow for sorting.  In the example below, when hovering over "Contact Name" and "Contact Title", the mouse-pointer turns into a "finger", and the column can be sorted by clicking.

     That doesn't happen for the City and Country columns.  Is there an easy remedy for this?  I have a similar grid, with several columns that have comboBox filters.  The columns with comboBox filters don't allow for sorting by clicking on the column headers, just like in the Demo example below.
see this example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
sean
Top achievements
Rank 1
 answered on 03 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?