Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
85 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
90 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
137 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
171 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
106 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
97 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
157 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
1 answer
69 views
I am using the image manager to upload images to be stored in a database. When images larger than 25kb are uploaded  only small portion of the images is displayed and uploaded.
Rumen
Telerik team
 answered on 24 Oct 2011
2 answers
126 views
Hi,

is it possible in TreeListe to show a Refresh-Button like in RadGrid?

<CommandItemSettings ShowRefreshButton="true" ...

Best Regards

Tom

Thomas
Top achievements
Rank 1
 answered on 24 Oct 2011
1 answer
141 views
Like I said, it seems to work fine in IE and FF, but crashes in Chrome (weird). I have two image buttons inside of a GridTemplateColumn and when they are clicked, in chrome, I get the following error (detailed screenshot attached): 


Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

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