Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
174 views
Hi,

I need to display limited characters only in grid.I followed the following thread and it is working.
http://www.telerik.com/community/forums/aspnet/grid/display-limited-characters-in-radgrid.aspx


Now for diffreent resolutions and monitors this hardcoded character limit is not going well.

So i want to get the column width and number of characters fit to that .I will give the column widths in %.

I want something like if (no:of characters in the column > column width)  then
column.text=truncate till it fits in that column+"..."

Also if there is any other way  to achieve this plz tell me...

Could any body please help me..
Thanks.
Winni
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
90 views
i have one table like -receipt transaction one coloumn name is headtype within headtype i have like schoolfee duefee and hostelfee is there. i have to bind schoolfee,due fee,hostelfee in rad pi chart
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
595 views
Hello,

Telerik ASP.NET Ajax: 2011.3.1115.40
Language. VB.NET

We try to know how to use the web.config settings "Telerik.Web.SkinsAssembly" with a custom skin created by Telerik Style Builder.

For this, we did the following steps:
  1. We created a custom skin by Telerik Style Builder named "MySkin" with all controls skinned.
  2. We transformed the skin "MySkin" into an assembly "MySkinAssembly" with namespace "MySkinNamespace" by the tool of Bryan Boudreau, Telerik-webresourcebuilder:
  3. We add in <appSettings> the lines:
<add key="Telerik.Web.SkinsAssembly" value="MySkinAssembly" />
<add key="Telerik.Skin" value="MySkin" />
<add key="Telerik.EnableEmbeddedSkins" value="false" />
  4. In a web page, we added a <telerik:RadButton id runat ... /> but without the tag Skin, because Telerik adds it with "MySkin" taken from "Telerik.Skin" setting.

The result was that the RadButton was not skinned.

But if we add "RadStylesheetManager" with an entry for the RadButton in the page, like:
<RadStylesheetManager ...>
  <
StyleSheets>
   
<StyleSheetReference Name="MySkinAssembly.MySkinNamespace.Button.MySkin.css" Assembly="MySkinAssembly" />
  </StyleSheets>
</RadStylesheetManager>

it works!

How can we use the web.config settings "Telerik.Web.SkinsAssembly" without "RadStylesheetManager"?

Thank you
Alain
Lini
Telerik team
 answered on 08 Dec 2011
8 answers
704 views
Hi All,

I am using RadTimePicker.

I want to set the time in RadTimepicker from javascript.
Please help me.

Thanks
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
122 views
how to insert ,update and delete Appointments in RadScheduler from my database.
Shinu
Top achievements
Rank 2
 answered on 08 Dec 2011
2 answers
75 views
Hi,
I am referring to this page. In this demo page, the top grid contains various columns. One of the columns is contact details which is created using telerik:GridTemplateColumn. I would like to know how can we create such columns problematically? I know how can we create column with single data item. But in this case its split view which I want to achieve.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
abhijeet
Top achievements
Rank 1
 answered on 08 Dec 2011
3 answers
129 views
I am having a difficult time (it's been two days already) trying to prevent the display of a loading panel when a nested control triggers an async/ajax event.

In my situation I have an ASP:Panel that is Ajaxified via adding a declarative AjaxSetting on a page and the loading panel is specified.  This is because normally I want the loading panel to display for anything that updates in the panel, like the markup below:

<telerik:AjaxSetting AjaxControlID="ProblematicArea">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="ProblematicArea" LoadingPanelID="LoadingPanel" />
                   </UpdatedControls>
</telerik:AjaxSetting>

This is what the panel looks like when defined.
<asp:Panel ID="ProblematicArea" runat="server" >
     <asp:PlaceHolder Runat="server" ID="DynamicControls"></asp:PlaceHolder>
</asp:Panel>


I am adding dynamic controls, user controls, when the page loads to the "DynamicControls" placeholder.  Normally when one of these dynamically added user controls has a drop down or another control, this works great because if I auto-postback the dropdown it gets included in the events that trigger that loading panel.

However, I have a situation where there is a particular button in a particular user control that I do not want it to trigger the appearance of the loading panel when a user clicks the button, because the button has JavaScript to trigger another screen/UI blocking function while a server-side process is running instead of the loading panel (which does not block all controls on the screen normally).  The situation as it stands is that both the ajax loading panel and this other screen/ui blocking (the second one blocks the entire screen and has a different look and feel) load and it's very confusing to the user/redundant.

It is not that I want to remove the AjaxUpdateControl entry for the "ProblematicArea" it's that I do not want the loading panel to display in a particular case and for all other cases I want it to display.
jgill
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
86 views
We are using the Office2010Black skin and the tree view on a white background -- and the opening and closing branch icons don't show up well.  Is there an easy way to use just the open/closing icon from another skin?  or custom icons?  At this point we don't want to change the background color.

Thanks,
Todd.
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
5 answers
133 views
Hi,
I am using "Transfer to multiple RadListBoxes using Drag and Drop" feature. I got a jQuery function from Telerik team for this.

After implementing this i am not able to get the transfered listbox item either in client side or in serverside.

How can i get the selected/checked items from any of the listboxes?
Rakesh
Top achievements
Rank 1
 answered on 08 Dec 2011
4 answers
419 views
My query string in the window.open is not working correctly,
but my real issue is being able to grab the first column's cell value
when someone clicks in a cell on the grid.  So var SITE wouldn't be hard coded, it would get the value
on the client side to pass to the window.open..
I found an example from 2008 on the site, but I can't get it to work
even if I completly replace my code with it.  Any help is appreciated.

<script type=
"text/javascript" >
      function RowClick(sender, args)
      {
          var grid = sender;
          var MasterTable = sender.get_masterTableView();
          var cellindex = args.get_domEvent().target.cellIndex
          var DOS = MasterTable.get_columns()[cellindex].get_uniqueName();
          var SITE = "140006"
          window.open("'Detail.aspx?1=" & DOS & "&2=" & SITE & "',newwindow","toolbar=no,location=no,menubar=no,width=300,height=300,resizable=no,scrollbars=no,top=200,left=250");return false;
      }
   </script>
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?