Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
Hi

Can someone please help me with a Radgrid issue I am having, when I run the app through VB on the ASP development server everything work fine, as soon as I publish the site into any IIS the button is visible but just does nothing when its clicked. No editform or inline updating textboxes or anything is visible the button is just unresponsive..
Please advise me on this

Regards 
Lee'Roy
Rumen
Telerik team
 answered on 20 Dec 2017
5 answers
359 views

Hi,

Is is possible to reach a Filtered Template Combobox outside the event

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.WebControls.GridCommandEventArgs)

My code for a FilterTemplate is
<telerik:GridBoundColumn DataField="MeasuringPointName" FilterControlAltText="Filter MeasuringPointName column"
    HeaderText="Изм. т-ка" SortExpression="MeasuringPointName" UniqueName="MeasuringPointName" >
    <ItemStyle Wrap="False" />
    <FilterTemplate>
        <telerik:RadComboBox ID="RadComboBoxMeasuringPointName" DataSourceID="ObjectDataSourceMeasuringPointsNames" DataTextField="MeasuringPointName"
            DataValueField="MeasuringPointName" AppendDataBoundItems="true"  Width="100%" DropDownAutoWidth="Enabled"
            SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("MeasuringPointName").CurrentFilterValue %>'
            runat="server" OnClientSelectedIndexChanged="MeasuringPointNameIndexChanged">
            <Items>
                <telerik:RadComboBoxItem Text="Всички" />
            </Items>
        </telerik:RadComboBox>
        <telerik:RadScriptBlock ID="RadScriptBlockMeasuringPointName" runat="server">
            <script type="text/javascript">
                function MeasuringPointNameIndexChanged(sender, args) {
                    var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");
                    tableView.filter("MeasuringPointName", args.get_item().get_value(), "EqualTo");
                }
            </script>
        </telerik:RadScriptBlock>
    </FilterTemplate>
</telerik:GridBoundColumn>

I have a RadComboBox and a RadButton which are used to fill SqlDataSource and invoke RadGrid.Prerender with RadGrid.Rebind(). I also use RadAjaxmanager with following code:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
       <AjaxSettings>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="btnExecute">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="Panel1" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="MeasuringPointsDataGrid">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="Panel1" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
       <ClientEvents OnRequestStart="onRequestStart" />
   </telerik:RadAjaxManager>
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Telerik"
       Transparency="30" meta:resourcekey="RadAjaxLoadingPanel1Resource1">
   </telerik:RadAjaxLoadingPanel>

On first select everithing work correctly. I select item from FilterTemplate and filtering works correct. If I change the the criteria to be completed the RadGrid the FilterTemplate retains the old chosen value instead to change to "All".
My idea is to handle

btnExecute_Click(sender As Object, e As System.EventArgs) Handles btnExecute.Click
event and inside it  any help would me more than welcome  to set the RadComboBoxMeasuringPointName SelectedIndex to 0. 

Any help would me more than welcome. Thank you.

yassin wakeel
Top achievements
Rank 1
 answered on 20 Dec 2017
9 answers
563 views

I have upload Video using Media Manager in Editor with size around 50MB, but radeditor slow rendering the video.

How to improve the performance when render the video in radeditor?

I also want to insert external Mp4 Video from our http server not from Youtube / vimeo, how to do that ? Is it possible ?

Perhaps anyone can help me.

Thanks,

Rumen
Telerik team
 answered on 20 Dec 2017
2 answers
214 views

Is there such a way where I can do a onclick on the pie chart series from a code behind?  I need to redirect to another web page on a series click and in the target page, I will show a grid of the detail data base of which series it got clicked and thus would like to pass the variable using a session.

 

Thx.

Frank
Top achievements
Rank 1
 answered on 20 Dec 2017
7 answers
509 views

I am having problems with bullets in RadEditor - basically, the html code it creates is wrong.

I attach three images showing the steps to create the problem. The intention was to bullet the four lines starting with 'Item'. The same happens with a numbered list.

Prior to bulleting/numbering, the html view shows this (which is correct):

 

This is the course information for the course. It contains:<br />
<br />
Item1<br />
Item2<br />
Item3<br />
Item4<br />
<br />
This text is below the bullet points

 

When the bullet button is pressed, Bullets3.jpg happens. The corresponding html view shows:

<ul>
    <li>This is the course information for the course. It contains:<br />
    <br />
    Item1<br />
    Item2<br />
    Item3<br />
    Item4<br />
    <br />
    This text is below the bullet points</li>
</ul>

 

For numbering, it shows:

 

<ol>
    <li>This is the course information for the course. It contains:<br />
    <br />
    Item1<br />
    Item2<br />
    Item3<br />
    Item4<br />
    <br />
    This text is below the bullet points</li>
</ol>

 

Looking at this, the ul /ul and ol /ol have been inserted in completely the wrong place. This actually makes the bullet/number features completely unusable because there doesn't seem to be any logic in how it screws up the html.

Any ideas on how to fix this ?

I am using 2014.1.403.40 with .NET 4.0 under VS2010 and Chrome, although it also does it under IE.

Thanks

John
Top achievements
Rank 1
 answered on 19 Dec 2017
2 answers
598 views
I'm posting this because I had a really hard time finding the exact documentation that would resolve the issues I was having.

The issue I was having is when I published my webapp to my webserver the telerik controls were not rendering and functioning properly. 

So for anybody who's having issues with .Net4.0 (perhaps on a stand alone server) here is how I resolved them.
Prerequisite:
Make sure Microsoft.net 4.0 is installed.
~ This install guide was created using Windows 2008 server R2 standard
(in lamest terms so of the x64 directories listed below might need to be changed to either 32/86)


Instructions:
  1. Install the "AutoMatic Installation" files on your webserver (login to www.telerik.com, -> account overview -> manage products -> download -> browse all product files -> Automatic installation)
  2. Install the "AutoMatic Installation" on your server (copy the file over or download it directly there)

------------------------------------------
This is where I got thrown a curve ball, i'm assuming that everything I need will be installed on the webserver, however this does not seem to be the case.

A few notes :
The directions here are accurate, however a bit misleading: http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

What is misleading about these is the directions shown indicate a Share Point server, in my case I'm not using Share Point.  Also what is misleading is Visual Studio is not installed on my webserver. 

Also: The drag and drop feature for installation of GAC is not available in .Net 4.0, you must use the GACUTIL.exe from either the SDK or VS.  The correct directory for .Net4.0 GAC is "C:\Windows\Microsoft.NET\assembly"

Instructions (Part 2):

  1. Install Windows SDK found here: http://www.microsoft.com/en-us/download/details.aspx?id=8279
  2. When installation has been completed open up a command prompt "AS ADMINISTRATOR"
  3. in the command prompt type cd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\x64" hit enter
  4. in the command prompt type gacutil.exe -i "C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2012\Bin40\Telerik.Web.UI.dll"

And that fixed all the problems for me!

What seemed to be the issue for the .net 4.0 GAC is installer only seemed to install Telerik.Web.Design in the .net4.0 GAC "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.Web.Design"
I had to manually install ""C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Telerik.Web.UI".

Is this designed or a bug or a windows issue?  I chose to install all the aspx dlls (which included reporting) and they did install under the 2.0/3.5 GAC "C:\Windows\assembly".

However, the .Net 4.0 only installed the Telerik.Web.Design.


Ahmed
Top achievements
Rank 1
 answered on 19 Dec 2017
4 answers
153 views
Hello,

I am using a combobox with an OData data source as defined here:

<telerik:RadODataDataSource runat="server" ID="RadODataDataSource1" EnablePaging="True" EnableSorting="True" EnableFiltering="True">
    <Transport>
        <Read Url="http://localhost/DataService/" DataType="JSONP"></Read>
    </Transport>
    <Schema>
        <telerik:DataModel ModelID="Country" Set="CustomCountries">
            <telerik:DataModelField FieldName="Name"></telerik:DataModelField>
            <telerik:DataModelField FieldName="ISOCountryCode"></telerik:DataModelField>
        </telerik:DataModel>
    </Schema>
</telerik:RadODataDataSource>
 
<telerik:RadComboBox runat="server" ID="RadComboBox1" ODataDataSourceID="RadODataDataSource1" Filter="Contains"
    DataModelID="Country" DataTextField="Name" DataValueField="ISOCountryCode" EnableLoadOnDemand="True"
    MaxHeight="200">
</telerik:RadComboBox>

I was expecting that when filtering, the combobox would use the $filter parameter but when inspecting the request, it is always empty. Am I missing something?


Thanks in advance,

Baptiste

PS: One more question, will OData v3 be supported in a near future? :)
msky92
Top achievements
Rank 1
 answered on 19 Dec 2017
2 answers
466 views

Hi,

 

I am getting an javascript error message on client side when loading HTML into the Content property of the RadEditor control:

textEditor.Content = "<html xmlns="http://www.w3.org/1999/xhtml"><head><title></title></head><body><p><span>qdwqwdwqd</span></p></body></html>";

 

The error I am getting is a popup saying:

Error! Set EditorContentAreaMode to Iframe if you want to edit full page HTML!

The editor control is defined in the asp.net user control markup as :

<rade:SPRadEditor RenderMode="Classic" ID="textEditor" Runat="server"
    EditModes="Design" Language="nb-NO" OnClientLoad="editorLoad" OnClientSubmit="OnClientSubmit" ContentAreaMode="Iframe">
</rade:SPRadEditor>

 

I have also checked while debugging that the ContentAreaMode is set to Iframe while debugging.

The content is set in the editor, so that is fine. I just need to get rid of the error popup message.

 

Does anyone know how to either configure the editor to fix this or if it is possible to supress the error message in any way?

 

Best regards,

Geir Morten Hagen

Karl-Heinz
Top achievements
Rank 1
 answered on 19 Dec 2017
6 answers
460 views
I want clients to only be able to insert a single row in my Grid.  After the insert, i'd like to remove the ADD button...
any pointers plz ?

Tim
Ramya
Top achievements
Rank 1
 answered on 19 Dec 2017
2 answers
291 views
Hello,
I would like use Radmap on my c# Webform.
let assume User has type address and click on show map button then i need to show RadMap with user typed location

How can i do this..
Please provide sample code(client side  or serverside)
Gcobani
Top achievements
Rank 1
 answered on 19 Dec 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?