Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi  I have a rad grid and I would like to control a date time control in one column based on that data in another column,

so if the column called Multiple  is Yes then I would like to either make the column called  SuggestedFix  not visible or not editable is this possible?
grid definition below

  <Columns>
<telerik:GridClientSelectColumn UniqueName="add_number" headertext="Select" HeaderStyle-Width="4%" ItemStyle-Width="4%" ItemStyle-HorizontalAlign="Left"/>
<telerik:GridBoundColumn UniqueName="id" DataField="id" HeaderText="id" ReadOnly="True" Display="False" SortExpression="carriername" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="Multiple" DataField="Multiple" HeaderText="Multiple" ReadOnly="True" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="cli" DataField="cli" HeaderText="CLI" ReadOnly="True" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="cost" DataField="cost" HeaderText="Cost" ReadOnly="True" HeaderStyle-Width="10%" ItemStyle-Width="10%" FilterControlWidth="75%" ItemStyle-HorizontalAlign="Right" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="calls" DataField="calls" HeaderText="No of Calls" ReadOnly="True" HeaderStyle-Width="10%" ItemStyle-Width="10%" FilterControlWidth="75%" ItemStyle-HorizontalAlign="Right" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="mindate" DataField="mindate" HeaderText="From Date" ReadOnly="True" dataformatstring="{0:dd/MM/yyyy}" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="maxdate" DataField="maxdate" HeaderText="To Date" ReadOnly="True" dataformatstring="{0:dd/MM/yyyy}" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="condate" DataField="condate" HeaderText="Connection Date" ReadOnly="True" dataformatstring="{0:dd/MM/yyyy}" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="dcondate" DataField="dcondate" HeaderText="Disconnection Date" ReadOnly="True" dataformatstring="{0:dd/MM/yyyy}" HeaderStyle-Width="9%" ItemStyle-Width="9%" FilterControlWidth="75%" FilterControlAltText="CLI filter column" > </telerik:GridBoundColumn>
<telerik:GridDateTimeColumn UniqueName="suggestedFix" DataField="suggestedFix" HeaderText="Suggested Fix Date" HeaderStyle-Width="20%" ItemStyle-Width="20%" FilterControlAltText="Account Filter column" FilterControlWidth="80%" ItemStyle-VerticalAlign="Top" ColumnEditorID="GridDateColumnEditor1" > </telerik:GridDateTimeColumn>
</Columns>
Maria Ilieva
Telerik team
 answered on 14 Nov 2014
1 answer
100 views
I'm working on a project where I'm using the ImageGallery to display some photos which can then be zoomed in on using a jQuery plugin.  Typically this involves in having the medium sized image (the one displayed in the ImageGallery) linked to the larger version, and a custom class needs to be assigned to the medium image.  Is this possible to do?

I've attempted something like this:

foreach (ImageGalleryItemBase oItem in rdPics.Items)
{
     oItem.Attributes.add(
"class", "MagicZoomPlus");
}

but that does not work, as the "Attributes" property is not recognized.  Any suggestions?

Alternatively, has anyone attempted to add zoom capabilities to the ImageGallery, and if so, which component did you use (jQuery plugin or otherwise) and how did you integrate the two components together?

Thank you,
Alex





Antonio Stoilkov
Telerik team
 answered on 14 Nov 2014
3 answers
198 views
Hello, I am deploying my first Telerik application and I am getting "Uncaught ReferenceError: Telerik is not defined" when I publish my application. The application works in debug in Visual Studio. Please see my attached images showing my Web.config file.

My server is Windows Server 2008 R2 with IIS 7.x. Do I need to change some settings on the server to use Telerik.Web.UI?

My project references have Telerik.Web.UI version 2013.2.717.40

The Telerik.Web.UI.dll is in my /bin/ directory.

Here are all the URL's of fixes I have tried...

http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html
http://www.telerik.com/help/aspnet-ajax/introduction-add-to-global-assembly-cache.html
http://www.telerik.com/forums/telerik-is-not-defined-solved---internal-build-issue

I don't have shared hosting, but do I need to set up Telerik as if it's on a shared hosting?
http://www.telerik.com/help/aspnet-ajax/introduction-deploying-on-shared-hosting.html
Ianko
Telerik team
 answered on 14 Nov 2014
2 answers
490 views
In a Column Chart, I am trying to format a date in a Tooltip's ClientTemplate and  I can't seem to figure it out.

On the Y-Axis I have dollar amounts, on the X-Axis I have the 24 hours of the day (12am, 1am, 2am, ... 11pm). The X-Axis labels work fine (well, I wish I could lowercase the AM/PM, but that's another issue) using the following:

<LabelsAppearance DataFormatString="htt" RotationAngle="0" />

Unfortunately, when I use the following ToolTips template the X-Axis value renders as a long format date like "Tue Nov 11 2014 03:00:00 GMT-0600 (Central Standard Time)" rather than "3AM":

<TooltipsAppearance BackgroundColor="#ffffff" Color="#5ab7de">
  <ClientTemplate>
    <div><b>#=category#</b></div>
    <div>$#=value#</div>
  </ClientTemplate>
</TooltipsAppearance>

How do I get #=category= to format my date like this: 4PM?
Danail Vasilev
Telerik team
 answered on 14 Nov 2014
1 answer
50 views
Does RadSkinManager work with custom (non-embedded) skins?
Maria Ilieva
Telerik team
 answered on 14 Nov 2014
1 answer
63 views
Hello,

How is it possible to autofit / autosize a giving column when exporting the contents using ExportStructure?
The only option available is Width with a defined value. I was unable to find an autofit / autosize function.

Any idea how to achieve this?

Thank you!
Kostadin
Telerik team
 answered on 14 Nov 2014
1 answer
53 views
Hi,

I have a SP list bound to a radgrid .Columns are App owner,Average rating and the list is ordered by app owner column.Average rating is a calculated column where i am  taking the average of the different ratings of the owner in the original list.

I want to be able to make the app owner column a hyperlink column on click of which i want to display all the ratings for that owner.How can i do this?


Marin
Telerik team
 answered on 14 Nov 2014
1 answer
84 views
Hi ,

We recently installed Telerik Q3 2014 and found  a few problems with Radgrid - GridButtonColumn when page size is changed.   Our grid control used client-side binding . 

1.  When the page size is changed , if our GridButtonColumn has a custom image url and a pre-defined CommandName is used (ex. Edit or Delete), the other records show the default telerik image for Edit or Delete.    (i.e.  Records 1-10 would show our custom image , and records 11-20 would show default telerik image) 

2.  If we set ConfirmText property, no confirmation alert is shown when button is client .

Can you please help.


Pavlina
Telerik team
 answered on 14 Nov 2014
4 answers
399 views
Hi,
when I update some fields in my grid in batch edit mode and click on "save changes" to store my updates in db, I sometimes have server side errors (more complex server-side validation, database access issue, ...).
In that case, I display the errors from the server, but my radgrid is completely re-binded and I lost all my updates. (that can be massive updates...)
I can't find how to keep my updates for the user to change its erroneous fields.
Am I missing something ?
Thanks in advance
Flavien B.
Top achievements
Rank 1
 answered on 14 Nov 2014
3 answers
350 views
I'm having an issue when exporting the contents of a RadGrid control to excel using the RadGrid1.MasterTableView.ExportToExcel() method. The output is not UTF8 encoded, and in some scenarios, the Ã‚ character is displayed before the next character. This happens for characters like the non-breaking space or degree character. I've spent some time looking through the documentation and object structure of the RadGrid control and I see no properties that I can set to force the output file to be UTF8 encoded. I'm currently running Version 2013.3.1114.35 and upgrading is NOT an option unfortunately. 
Kostadin
Telerik team
 answered on 14 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?