Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 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
240 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
539 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
106 views
Does RadSkinManager work with custom (non-embedded) skins?
Maria Ilieva
Telerik team
 answered on 14 Nov 2014
1 answer
84 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
75 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
155 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
454 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
400 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
1 answer
108 views
Hi.

I´m working on a RadGrid which have three fixed columns and several neither. The question is that if i try to group by columns, Radgrid begins to act exactly as if tablelayout="fixed". Only grouped, not in every postback.

so even if i change the width just like this thread says 
http://www.telerik.com/forums/radgrid-grouping-causing-columns-to-be-resized

I´m still having an issue because columns only expand and stretch like an acordeon. No scroll at all, act exacly as fixed.


<telerik:RadSplitter ID="RadSplitter1" runat="server">
    <telerik:RadPane ID="VSPRadPane" runat="server" Scrolling="None" OnClientResized="VSPGridCreated">
        <div style="text-align: right">
            <telerik:RadButton ID="ExportButton" runat="server" Text="Exportar a Excel" OnClick="ExportButton_Click"></telerik:RadButton>
        </div>
        <div id="VSPGridContainer" style="height: 97%;">
            <telerik:RadGrid ID="VSPMainRadGrid" runat="server" AutoGenerateColumns="false"
                AllowSorting="true" AllowPaging="true" PageSize="100"
                OnNeedDataSource="VSPMainRadGrid_NeedDataSource"
                OnUpdateCommand="VSPMainRadGrid_UpdateCommand"
                OnItemCreated="VSPMainRadGrid_ItemCreated"
                OnDeleteCommand="VSPMainRadGrid_DeleteCommand"
                OnInsertCommand="VSPMainRadGrid_InsertCommand"
                OnGroupsChanging="VSPMainRadGrid_GroupsChanging"
                EnableLinqExpressions="false"
                >

                <ClientSettings AllowDragToGroup="True">
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="5" />
                    <ClientEvents OnGridCreated="VSPGridCreated" />
                </ClientSettings>

                <MasterTableView DataKeyNames="Id" AllowNaturalSort="false" HierarchyLoadMode="Client" CommandItemDisplay="Top" AllowFilteringByColumn="True"
                    InsertItemPageIndexAction="ShowItemOnCurrentPage" AutoGenerateColumns="false" ClientDataKeyNames="Id" TableLayout="Auto">
                    <Columns>
                                [...]
                     </columns>
                             <EditFormSettings EditFormType="Template" PopUpSettings-Modal="true">
                                [...]
                              </EditFormSettings> 
                </MasterTableView>
                <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
                <GroupingSettings CaseSensitive="false"></GroupingSettings>
            </telerik:RadGrid>
        </div>
    </telerik:RadPane>
    <telerik:RadPane ID="RadPane1" runat="server" Collapsed="true" />
</telerik:RadSplitter>

Any suggestion?

Thanks.
Angel Petrov
Telerik team
 answered on 14 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?