Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
If AllowMultiRowSelection="True"  in a grid, selecting individual rows by clicking on them unselects all previously selected rows. In a non mobile environment this is ok since the user has access to the CTRl or SHIFT keys to select multiple rows. However, in a touch environment, they don't. It is true they can click on the client select column to select multiple rows, but again, clicking on the row itself to select it, unselects all previously selected rows.
Eyup
Telerik team
 answered on 16 Feb 2016
0 answers
121 views

hi, I want to load a page in an .aspx radwindow with code-behind, impostatndo the url, eco vb code and html code, but I get this javascript message that I do not understand because I seem to have written well everything.

this is error:

JavaScript critical error at line 41, column 10 in (unknown source location) \ n \ nSCRIPT1004: Expected ';'

url = "../report/report.aspx?date1=" + date          
Report_Window.NavigateUrl = url          
Report_Window.Title = "Report "
Dim script As String = "Function f(){$find(""" + Report_Window.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "show", script, True)

<telerik:RadWindow ID="Report_Window" runat="server" Title="Report" ShowContentDuringLoad="false" VisibleStatusbar="false"<br>            Behaviors="Close, Move" Skin="Silk" Height="100px" Width="200px" AutoSize="true" Modal="true" ReloadOnShow="true"><br>        </telerik:RadWindow>

Fabio Cirillo
Top achievements
Rank 1
 asked on 15 Feb 2016
2 answers
129 views

Hey there,

I have a button column in a radgrid that is set to pushbutton - however, it does not show up as a button.

We are using the Silk skin included with Telerik.UI.Skins. 

I have attached a screenshot of the error. You can also find it here on imgur: http://i.imgur.com/QV5BnGd.jpg 

  

Our webconfig has 

<httpHandlers>
     <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
   </httpHandlers>
<system.webServer>
   <validation validateIntegratedModeConfiguration="false"/>
   <handlers>
     <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
   </handlers>       
 </system.webServer>

 

I have tried adding a location, with no help:

<location allowOverride="false" path="Telerik.Web.UI.WebResource.axd">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>

 

Any ideas?

Kostadin
Telerik team
 answered on 15 Feb 2016
1 answer
124 views

Hi,

 I have a javascript function who is executed when the client click :

 treeView.OnClientNodeClicking = "MyJavascriptFunction"

It works great.

So, i have another code-behind function who select a node like that :

Dim node4 As RadTreeNode = treeView.FindNodeByValue(txtHiddenModele.Value)


If node4 IsNot Nothing Then
  node4.Selected = True          
End If

 

It works too, the node is selected but the javascript function is not executed (MyJavascriptFunction)

 

How can i solve this?

 

Thanks!

 

 

 

Eyup
Telerik team
 answered on 15 Feb 2016
3 answers
183 views
Hi,
i want to display the number of currently selected nodes of my radTreeView (clientside).

so i have the nodeClicked event working fine.

var tree = $find("<%= radTreeView.ClientID %>");
var nodes = tree.get_selectedNodes();

i get the treeview object. i also got a object from the get_selectedNodes method.

But i cant get the Count fomr this array of nodes.

I tried .Count() .count() and get_count(), always getting an exception, stating that this object does'nt own such a method.

What may be helpfull?

thanks Mario
Eyup
Telerik team
 answered on 15 Feb 2016
5 answers
576 views
How do I check or uncheck a checkbox in the RadComboBox when it's checkbox is allowed?
Nencho
Telerik team
 answered on 15 Feb 2016
3 answers
578 views
I need to enable radGrid Filtering when the Enter Key is pressed and the important thing is my radgrid columns are auto generated so how can i enable this option/
Eyup
Telerik team
 answered on 15 Feb 2016
11 answers
3.5K+ views
Hi

I have a requirement to align a column on the grid to the left. How can I do that, any suggestion?

Thanks
Vinay
Eyup
Telerik team
 answered on 15 Feb 2016
2 answers
284 views

 Have problems with the icons on the RadLinkButton when using RadButton on the same page. For the icons to display on each button, I must put RenderMode to Lightweight on RadButton. See attached Pictures...

 

<div id="HeadCell" class="table">
    <div class="tr">
        <div class="td" style="vertical-align: top; padding-left: 6px; padding-top: 2px;">
            <telerik:RadLinkButton ID="rbBack" Skin="Black" Text="Tillbaka" NavigateUrl="~/admin/admin_start.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_tillbaka.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbNewPage" Skin="Black" Text="Ny huvudsida" NavigateUrl="~/admin/newpage/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_nysida.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbNewSubPage" Skin="Black" Text="Ny undersida" NavigateUrl="~/admin/newsubpage/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_nysubsida.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbLogOut" Skin="Black" Text="Logga ut" NavigateUrl="~/admin/logout/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_loggaut.png" Width="20" />
            </telerik:RadLinkButton>
        </div>
        <div class="td" style="width: 100px; padding: 0px; padding-right: 6px; text-align: right;"><asp:HyperLink ID="HlStartPage" ImageUrl="~/admin/images/buttons/btn_home.png" NavigateUrl="~/default.aspx" Target="_top" ToolTip="www.junis.org" CausesValidation="false" runat="server" /></div>
    </div>
</div>

Ianko
Telerik team
 answered on 15 Feb 2016
2 answers
170 views

Hallo,

I have a Problem with the GridAutoCompleteColumn in BatchMode.


<telerik:GridAutoCompleteColumn DataField="Hauptwort" InputType="Text"   DataSourceID="dsHauptwort" DataTextField="Bezeichnung" DataValueField="Id"   FilterControlAltText="Filter HauptwortId column" HeaderText="Hauptwort" SortExpression="Hauptwort" UniqueName="Hauptwort">
</telerik:GridAutoCompleteColumn>

 

I have multiple GridAutoCompleteColumn Columns. If I change and save all the columns, then everything works. But if I  change only one column, he no longer has the old values in the other Columns.

Protected Sub RgdArtikelbezeichnung_UpdateCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) Handles rgdArtikelbezeichnung.UpdateCommand
 
           Dim argument As GridBatchEditingEventArgument = TryCast(e.CommandArgument, GridBatchEditingEventArgument)
           Dim oldValues As Hashtable = argument.OldValues
           Dim newValues As Hashtable = argument.NewValues

 

In OldValues and newValues is the Value "Hauptwort" Nothing , when I, for example, the column change "Hauptwort2".

Is this er error in the Grid or another problem?

Thanks
Thorsten
Top achievements
Rank 1
 answered on 15 Feb 2016
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?