Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
349 views
If we add a value to a RadComboBoxItem attribute, we can always read it from the client side by saying
var value = combo.get_selectedItem().get_attributes().getAttribute('MyAttribute');


Can we do something similar for grid? During the ItemDataBound, I want to add attribute to each DataItem and read it when a row is selected and deselected clientside.

Thanks.
Baal
Top achievements
Rank 1
 answered on 24 Oct 2011
1 answer
62 views
Hi,

Can we bind our own data format to Scheduler control? 

Please provide us a example of Scheduler with database driven instead of XML.
Peter
Telerik team
 answered on 24 Oct 2011
1 answer
129 views

Hi,
I was provided with source code of VS project that uses Telerik controls. It's a WebSite and has dll's in Bin folder.
Telerik controls  version is 2010.2.826.40.

There is no Telerik.Web.Design.dll file in the project folders, but it's referenced in web.config file. I haven’t installed any Telerik package before, neither now because i have only project files.

Is there any way to proper see controls in VS 2010 editor and not getting error "Failed to create designer" without having file Telerik.Web.Design.dll? I've tried solutions from the forum and errors with references/sourcecode disappeared. However design view in VS 2010 is still not working.


Thanks in advance,
Przemek
Andrey
Telerik team
 answered on 24 Oct 2011
3 answers
77 views

I am having trouble getting this to work i looked into loading flash videos from the database and adding them to a virtual forlder where they can be choose from. 

I've looked at :

http://demos.telerik.com/aspnet-ajax/editor/examples/dbfilebrowsercontentprovider/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/editor-custom-filebrowsercontentprovider.html
http://www.telerik.com/help/aspnet-ajax/radfileexplorer-custom-filebrowsercontentprovider.html
http://www.telerik.com/community/code-library/aspnet-ajax/file-explorer/connect-radfileexplorer-or-radeditor-to-a-sql-databse.aspx


I have put everything in my sharepoint application, and i get no errors but, the implementation that i have is not reading the database, it skips the overrides and goes straight to the default methods. 

I am guessing it has to do with adding the handlers ahxs files to the project, but i am not sure how to do it in the sharepoint projec, where is a good place to add them? 

also I am working with the Sharepoint RadEditor
http://sharepoint.telerik.com/aspnet-ajax/Pages/RadEditor-for-SharePoint.aspx

I hope this is not part of the problem. 

Thanks
Daniel
Top achievements
Rank 1
 answered on 24 Oct 2011
1 answer
83 views
When, I tried to select 2000 files (.txt) at once using RadAsyncUpload - MultipleFileSelection and click "Open" button then I get the following error:

Microsoft JScript runtime error: Unhandled Error in Silverlight Application ShowDialog failed.   at System.Windows.Controls.OpenFileDialog.ShowDialog()
   at UploadPrototype.MainPage.OpenDialog()
   at UploadPrototype.MainPage.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

I had observed that I could not upload more than 2000 files(.txt) at once using RadAsyncUpload.
Is there any limitation with RadAsyncUpload?
If not, how do I overcome this limitation?
Peter Filipov
Telerik team
 answered on 24 Oct 2011
5 answers
111 views
Dear Support

Please find the attached image and understand the issue. How to make the necessary changes? Please suggest


<telerik:RadGrid ID="RadGrid1" Width="100%" BackColor="Transparent"
                                runat="server" AllowPaging="true" AutoGenerateColumns="false" OnItemCommand="RadGrid1_ItemCommand"
                                OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="true" OnItemDataBound="RadGrid1_ItemDataBound"
                                OnItemCreated="RadGrid1_ItemCreated" Skin="Black" BorderWidth="1"  AlternatingItemStyle-BackColor="White"
                                AllowFilteringByColumn="true" OnInit="RadGrid1_Init">
                                <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" />
                                <GroupingSettings CaseSensitive="false" />
                                <FilterMenu CssClass="FilterMenu" ForeColor="White" />
                                <FilterItemStyle BorderWidth="0px" BorderColor="White" VerticalAlign="Top" HorizontalAlign="Left" />
                                <HeaderStyle Font-Bold="true" CssClass="FontFamily"></HeaderStyle>
                              
                                <MasterTableView DataKeyNames="PID" FilterItemStyle-HorizontalAlign="Left"
                                    CellPadding="0" CellSpacing="0" Width="100%" FilterItemStyle-BackColor="White"
                                    BorderWidth="0" ForeColor="Black" BackColor="White">
                                    <Columns>
                                        <telerik:GridTemplateColumn AllowFiltering="false" ItemStyle-BorderWidth="1px" HeaderStyle-BorderWidth="1px"
                                            HeaderStyle-BorderColor="#666666">
                                            <ItemTemplate>
                                                <img src='../Images/Edit.gif' alt='Edit' class="MouseHoverLink" title='Edit' onclick='<%# "OpenWindow1(" +Eval("PID") + " );" %>' />
                                            </ItemTemplate>
                                            <ItemStyle Width="9%" HorizontalAlign="Left" />
                                            <HeaderStyle Width="9%" HorizontalAlign="Left" />
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridBoundColumn DataField="ShortName" HeaderText="Name" SortExpression="ShortName"
                                            UniqueName="ShortName" Visible="True" ItemStyle-BorderWidth="1px" HeaderStyle-BorderWidth="1px"
                                            HeaderStyle-BorderColor="#666666" AutoPostBackOnFilter="false"
                                            FilterImageUrl="../Images/Telerik/Filter.gif">
                                            <HeaderStyle HorizontalAlign="left" Width="18%"></HeaderStyle>
                                            <ItemStyle HorizontalAlign="left" Width="18%" CssClass="FontFamily"></ItemStyle>
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Abbr" HeaderText="Abbreviation" SortExpression="Abbr"
                                            UniqueName="Abbr" Visible="True" ItemStyle-BorderWidth="1px" HeaderStyle-BorderWidth="1px"
                                            HeaderStyle-BorderColor="#666666" AutoPostBackOnFilter="false"
                                            FilterImageUrl="../Images/Telerik/Filter.gif">
                                            <HeaderStyle HorizontalAlign="Left" Width="29%"></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center" Width="29%" CssClass="FontFamily"></ItemStyle>
                                        </telerik:GridBoundColumn>
                                        <telerik:GridNumericColumn DataField="Person" HeaderText="Person" SortExpression="Person"
                                            UniqueName="Person" Visible="True" FilterImageUrl="../Images/Telerik/Filter.gif"
                                            DataType="System.Int32" ItemStyle-BorderWidth="1px"
                                            AutoPostBackOnFilter="false"
                                            HeaderStyle-BorderWidth="1px" HeaderStyle-BorderColor="#666666">
                                            <HeaderStyle HorizontalAlign="Center" Width="18%"></HeaderStyle>
                                            <ItemStyle HorizontalAlign="Center" Width="18%" CssClass="FontFamily" />
                                        </telerik:GridNumericColumn>
                                        <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Active" ItemStyle-BorderWidth="1px"
                                            HeaderStyle-BorderWidth="1px" HeaderStyle-BorderColor="#666666">
                                            <ItemTemplate>
                                                <asp:ImageButton runat="Server" ID="imgActive" Tag='<%# Eval("IsActive") %>' ImageUrl='<%# GetImage(Eval("IsActive").ToString()) %>'
                                                    CommandName="Active" ToolTip='<%# GetToolTip(Eval("IsActive").ToString()) %>' />
                                            </ItemTemplate>
                                            <ItemStyle Width="17%" HorizontalAlign="Center" />
                                            <HeaderStyle Width="17%" HorizontalAlign="Left" />
                                        </telerik:GridTemplateColumn>
                                    </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>


Galin
Telerik team
 answered on 24 Oct 2011
1 answer
157 views
Hi to all,

I'd like to ask a question about RadUpload control.
I'm using RadUpload control for perform file upload, in my ASP.NET page I've include following code:

<telerik:RadProgressManager id="Radprogressmanager1" runat="server" />
<telerik:RadUpload ID="RadUpload1" Runat="server" Visible="true" InitialFileInputsCount="1" MaxFileInputsCount="1" controlobjectsvisibility="ClearButtons" />
<asp:Button ID="cmdUpload" runat="server" Text="Upload" Visible="true" />
<telerik:RadProgressArea id="progressArea1" runat="server" progressindicators="TotalProgressBar, TotalProgressPercent, TotalProgress, RequestSize, CurrentFileName, TimeElapsed, TimeEstimated, TransferSpeed" DisplayCancelButton="true" />


When I load the page, RadUpload is visible and RadProgressArea is hidden, when I select the file and I press cmdUpload button, RadProgressArea is display and present to me uploading process.

During this upload process I'd like to hide RadUpload control, showing only progress bar.

Thank you very much for your support!

Have nice day!
Maurizio
Peter Filipov
Telerik team
 answered on 24 Oct 2011
1 answer
100 views
Is it possible to customize the Delete Confirmation window?  For example, I want to show a radio button list of options that could be applied when the user confirms the delete.
Ivana
Telerik team
 answered on 24 Oct 2011
3 answers
90 views

 

 

Hi,

My code for RadEditor is as below

<telerik:RadEditor ID="TelerikEditor" runat="server" EnableResize="False" SkinID="BasicSetOfTools" BackColor="White" EditModes="Design" OnClientCommandExecuting="OnClientCommandExecuting1" RegisterWithScriptManager="true">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorDropDown Name="FormatBlock">
</telerik:EditorDropDown>
<telerik:EditorDropDown Name="FontName">
</telerik:EditorDropDown>
<telerik:EditorDropDown Name="RealFontSize">
</telerik:EditorDropDown>
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="AbsolutePosition" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Bold" />
<telerik:EditorTool Name="Underline" />
<telerik:EditorTool Name="Italic" />
<telerik:EditorTool Name="StrikeThrough" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="JustifyLeft" />
<telerik:EditorTool Name="JustifyCenter" />
<telerik:EditorTool Name="JustifyRight" />
<telerik:EditorTool Name="JustifyFull" />
<telerik:EditorTool Name="JustifyNone" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="Indent" />
<telerik:EditorTool Name="Outdent" />
<telerik:EditorTool Name="InsertOrderedList" />
<telerik:EditorTool Name="InsertUnorderedList" />
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorSplitButton Name="ForeColor">
</telerik:EditorSplitButton>
</telerik:EditorToolGroup>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="ImageManager" />
<telerik:EditorTool Name="LinkManager" />
<telerik:EditorTool Name="Unlink" />
</telerik:EditorToolGroup>
</Tools>
<Content>
</Content>
</telerik:RadEditor>

Is there any extra efforts required for "JustifyNone" make working in Firefox ?

 

Rumen
Telerik team
 answered on 24 Oct 2011
4 answers
147 views
Hi There,

I have a requirement where I need the Drag and Drop Functionality from a DataList to DataGrid.
Now when we do a drag drop from Grid to Grid there is a little Dashed line which shows up on the Target Grid which gives the user an idea about where the control is going to be placed.

But when we do the same thing, I mean dragging a control from DataList and Droping it on DataGrid, I am not able to see that Dashed Line.
I tried to figure out and I think this is possible if we tweak the javascript functions that handle this drag drop, to show a dashed line. But this approach needs some extra programming efforts.

Is there any simple solution to achive this?  I went through all the demos and I could not find one which actually shows how this is done.

Thanks
Galin
Telerik team
 answered on 24 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?