Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
319 views
How can I handle the selected event to fire the corresponding operation. Assume I have two Menu items namely Edit and Delete when I select edit and update the record I would like to fire the RadGrid_UpdateCommand event and when I select Delete I would like to fire RadGrid_DeleteCommand
Marin Bratanov
Telerik team
 answered on 10 Aug 2018
2 answers
207 views

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See  https://www.chromestatus.com/features/5093566007214080. I get 1 error message for every pixel the grid scrolls. 

 

What causes this and how can i prevent it?

Rumen
Telerik team
 answered on 10 Aug 2018
1 answer
147 views

i followed the doc of telerik

create new material theme in theme builder, download, unzip to App_themes -> MyTheme folder

Added a MySkin.skin file and add <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 

in web.config, add app settings

<add key="Telerik.Skin" value="MySkin"/>
<add key="Telerik.EnableEmbeddedSkins" value="false" />
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />

<add key="Telerik.Web.UI.RenderMode" value="lightweight"/>

Create a new aspx page, add a telerik button control, but skin not implement

I tried add skin="MySkin" on the control, not working

i saw the source code, the button already have "RadButton_MySkin" class there

 

do i missing anything?

Please help

Thx

 

 

 

 

 

Vessy
Telerik team
 answered on 10 Aug 2018
0 answers
105 views

Hi

See attached print screen.

 

I would like to add some resources in code behind. And on the left side, i would like to see only DAYS. 

 

Can somebody show me an code-behind code please ?

Thanks

Abdullah

Support ATT
Top achievements
Rank 1
 asked on 10 Aug 2018
4 answers
220 views

i try to connect PivotGrid to my model create on Azure analyse service.

 

<telerik:RadPivotGrid ID="RadPivotGrid1" runat="server"
    RenderMode="Lightweight" AllowSorting="True" FieldsPopupSettings-AggregateFieldsMinCount="2" AllowPaging="True"
    PageSize="20"  EnableConfigurationPanel="True" EnableZoneContextMenu="True"
    AggregatesPosition="Rows" Culture="fr-FR"
     
    >
    <OlapSettings ProviderType="Adomd" AdomdConnectionSettings-ConnectionString=""  >
        <AdomdConnectionSettings Cube="TabularProject2" DataBase="myanalyse"
            ConnectionString="Provider=MSOLAP;Data Source=asazure://westeurope.asazure.windows.net/myanalyse;Initial Catalog=analyseservicedatabase;User ID=xxxxxxxxx;Password=xxxxxxx;Persist Security Info=True;Impersonation Level=Impersonate"></AdomdConnectionSettings>                          
    </OlapSettings>
 
    <ConfigurationPanelSettings Position="Left" LayoutType="OneByFour" DefaultDeferedLayoutUpdate="true" />
    <ClientSettings>
        <Scrolling AllowVerticalScroll="false" ScrollHeight="600px" />
    </ClientSettings>
</telerik:RadPivotGrid>

 

but that not work, Pivot Grid is displayed without any data and i have no error.

Any idea ?

 

Eyup
Telerik team
 answered on 10 Aug 2018
1 answer
118 views

hi !
I am working on a project that I receive data by schema via datasource . after receiving this data from specific URL I have to send one of these them (that is an id) to another URL to receive a name . now the problem is template is not working here cause connecting to 2nd URL takes time and grid is ready by that time  ...
what should I do ?
any guides ?

 

regards

Eyup
Telerik team
 answered on 10 Aug 2018
11 answers
4.0K+ views
I have a Link Button in my Rad grid, and am able to capture the Item_Command event when clicking.  However, I cant figure out how to access the other values within the row from in the item command.  I dont need just the data key values, and the other examples for the update command and delete command, i need access to the data in all columns.

Basically i have a url with some special variables that the page will redirect to when clicked, and i need to basically loop through all the columns,and replace the url variables dynamically with the values associated with the correct column.

For example, say my url has a parameter {orderNumber}.  I want to replace that value in the string with the value from the orderNumber column thats in my row. 

I am aware of the hyperlink button, but cant go that route because under certain circumstances we're not allowed to show the querystring.

So, all that said, in an item command does anyone know how to loop through and grab the values from the other columns?
Eyup
Telerik team
 answered on 10 Aug 2018
1 answer
314 views
We have a column header that looks like this:
    <telerik:GridTemplateComlumn DataField="Venues" HeaderText="Venue">

 

I would like to add a tooltip to this column header but have been having a hard time figuring out a way to do this in JavaScript.
I have tried using the following scripts:

document.querySelectorAll("[value=Venue]").setAttribute('title', 'this is a tooltip');
$("[value=Venue"]).prop('title', 'this is a tooltip');
$("[HeaderText=Venue").prop('title', 'this is a tooltip');

I understand that telerik has findControl() and findElement() to help with element selection, but haven't had too much luck with those either.

Does anyone know a way that I can select this specific column header with JavaScript and apply a tooltip (title)?

Marin Bratanov
Telerik team
 answered on 09 Aug 2018
1 answer
156 views
Hi, i have requirement to add Raddropdowntree programmatically to form. Also i am using Load on Demand approach to load data to raddropdowntree because i have more that 40,000 rows of data from sql server. 

but i have a problem here if i hardcode raddropdowntree control in aspx page then load on demand works fine (i have copied that code from user 'Boyan Dimitrov' from telerik forum).

If i am creating raddropdown programmatically in .cs file (see the below code) then that code gives a error 'There was an error in the callback' when i try to expand any parent node.



RadDropDownTree datatreeview = new RadDropDownTree();
datatreeview.ID = raddptreename;
datatreeview.Attributes["CssClass"] = "radwidth";
datatreeview.Attributes["runat"] = "server";
datatreeview.Attributes["OnLoad"] = "RadDropDownTree1_Load";
datatreeview.EmbeddedTree.NodeExpand += embeddedTree_NodeExpand;
form1.Controls.Add(datatreeview);
loadtreeview(RadDropDownTree1, TreeNodeExpandMode.ServerSideCallBack);


Please guide me in fixing this problem.
 

Tsvetomir
Telerik team
 answered on 09 Aug 2018
15 answers
671 views
Hi,
I want to Populate Parent Nodes from the Database in RadDropDownTree When Page being Load..
When you Expand i want to Populate Child Nodes from the Database..
How can i do this?
I went through this example but could not achieve(i am using Database not the Webservice)
http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/populatingwithdata/webserviceandclienttemplates/defaultcs.aspx 

Thanks In advance
Tsvetomir
Telerik team
 answered on 09 Aug 2018
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?