Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
122 views
Hi
Am unable to position the rad window . i had attached the screen shot . The problem is that the rad window enlarges and expands over the menu in my project. Kindly suggest me a solution as soon as possible . 

thanks in advance 

 
Vinodh B
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
136 views
I have a RadEditor in the user control of a SharePoint 2010 Visual Webpart in Visual Studio 2010.  The Show SmartTag option is disabled when I right click the control in design view.  I would like access to the SmartTag so I can add the required entries in the web.config for the HttpHandler to use the SpellCheck and ImageManager.  I tried adding the entries manually but continue to get an error message saying that I need to add the handlers to the web.config.
Timothy DiPaula
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
210 views
Forgive me for just asking to see if anyone else has encountered this issue rather than ripping my application infrastructure apart so that I can upload a test for you guys, but...

I'm using the ASyncUpload on a content page and an AjaxManagerProxy since my AjaxManager is in my master page. My upload is based a lot like the sample where I select an image an upload immediately. After the image is uploaded and processed on the FileUploaded event, I update an asp:image and a RadComboBox. This all seems to be good.

My problem is that the new image filename is added to the combobox and the user is allowed to select the new filename or a pre-existing image filename. When the new file is uploaded, I auto select that filename in the combobox and update the image too. Works fine... However, if I go ahead and select a different file now, the combobox's event fires, but so does the FileUploaded event. ???

The combobox (and a bunch of other controls) on the form are Ajaxified. Any of these postback events will now trigger the FileUploaded event if I've previously uploaded a file.

After the initial FileUploaded event, I clean out the file list by using deleteFileInputAt(0) in javascript, as shown in the example. This does remove it from the client UI. But does this really remove it from the control?

Also, I cannot seem to debug this problem within Visual Studio (2010)'s development server. When I step through the code in the FileUploaded() event, any time I try to access e.File.InputStream, I get an exception that the file is already in use.

This event shouldn't be executing when something else is causing the postback, such as my combobox or checkbox (on a radtree).

My way around this was to catch the exception by calling e.File.SaveAs() with a different filename. If it fails, it's most likely not the proper event that fired. If the SaveAs() is successful, I just rename the file after the successful save since this must be the proper event firing.

So, I have my workaround, but it's very odd behaviour... I really don't have a lot of time to rebuild a test app or start ripping code out so that I can upload what I have, so, I hope I've given enough of a description for you guys to try this and see what you make of it.

Thanks,
J
Genady Sergeev
Telerik team
 answered on 19 May 2010
1 answer
124 views
Does anyone know which style I need to adjust to fix this overlapping or cut off?
I've increased the width of the grid to more then enough room.. 

See picture.

The <telerik:GridClientSelectColumn ItemStyle-Width="10px"  ItemStyle-CssClass="checkboxadjust" HeaderText="Select All" />
Column seems to get cut off from the ItemTemplate

<telerik:RadGrid ID="gvClaimsToPickToAssociate"  
                                                    AutoGenerateColumns="false"  
                                                    CssClass="AutoHeight" 
                                                    AllowSorting="true"  
                                                    AllowPaging="true" 
                                                    PageSize="25" 
                                                    GridLines="Both" 
                                                    ShowHeader="true" 
                                                    ClientSettings-Selecting-AllowRowSelect="true" 
                                                    AllowFilteringByColumn="false"  
                                                    AllowMultiRowSelection="true"  
                                                    SkinID="None"   
                                                    ShowFooter="false"  
                                                    ShowStatusBar="true" 
                                                    runat="server"  
                                                    Skin="Windows7" 
                                                    Width="875px"
                                                        <SelectedItemStyle  />  
                                                        <MasterTableView TableLayout="Fixed" DataKeyNames="ADMClaimID" > 
                                                        <Columns> 
                                                            <telerik:GridClientSelectColumn ItemStyle-Width="10px"  ItemStyle-CssClass="checkboxadjust" HeaderText="Select All" /> 
                                                        </Columns> 
                                                        <ItemTemplate> 
                                                            ....
                                                        </ItemTemplate> 
                                                    </MasterTableView> 
                                                    <ClientSettings AllowDragToGroup="true"
                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                                                    </ClientSettings> 
                                                </telerik:RadGrid> 

Dimo
Telerik team
 answered on 19 May 2010
3 answers
108 views
I have an issue with one functionality. In IE8 when I'm trying to paste text from clipboard with use of button "paste" from toolbar (nothing is selected in editor) it just move cursor at the beginning of text area. What is a reason of that?

PS. Paste functionality works fine with use shortcut Ctrl+V.
Stanimir
Telerik team
 answered on 19 May 2010
2 answers
162 views
We have a project that has a Web.Config for an appliation at our main site level (e.g. somewebsite.com), and we have further applications underneath of this main site. Because of this, inside our root level web.config, we have a number of things inside a <location> tag, to prevent child applications from inheriting a lot information. The Telerik dialog handlers fall within this location tag. If we remove the location tag, the dialogs within rad editor will work fine. With the location tag in place, however, the dialogs will not load (it gives the error saying you must add a handler in your web config for the dialogs). Any idea on this?

<location path="." InheritInChildApplications="false"
... 
<httpHandlers> 
   ... 
   <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> 
 <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /> 
</httpHandlers>
...
</location> 
 

Joshua
Top achievements
Rank 1
 answered on 19 May 2010
2 answers
99 views
Hi,

how can i prevent to generate inline style "display:block" for CatchaLinkButtonText? Class rcRefreshImage has lower priority than inline style :-(.

Kamil
Kamil Zmeskal
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
180 views
Hi,
Is Possible to get the upload button invisible or disable ?
But The button create new directory must remain active.

Thank You for reply
Fiko
Telerik team
 answered on 19 May 2010
1 answer
148 views
Guys,

see attached image to see exactly whats going on, but the problem is i have a grey background in my radpanelbar item.

The code for my RadPanel bar is as follows.. any suggestions would be appreciated.

                            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Outlook" Width="100%" 
                                Height="100%" ExpandMode="FullExpandedItem" CssClass="TaskViewerText PanelBarTitleText" 
                                BackColor="#EFEBDE"
                                <Items> 
                                    <telerik:RadPanelItem Text="Summary" Font-Bold="true" Height="32px" Expanded="true" 
                                        runat="server"
                                        <Items> 
                                            <telerik:RadPanelItem id="uiSummaryPanel" runat="server" BackColor="#EFEBDE"
                                                <ItemTemplate> 
                                                    <asp:Panel ID="Panel1" runat="server" BackColor="#EFEBDE"
                                                        <div style="margin-left: 3px; margin-right: 3px; width: 400px; height: 100%; background-color: #EFEBDE;"
                                                            <table class="TaskViewerText" style="height: 115px; margin-bottom:15px;"
                                                                <tr> 
                                                                    <td style="width: 130px;"
                                                                        Document Number : 
                                                                    </td> 
                                                                    <td> 
                                                                        <asp:Label ID="uiDocumentNumberLabelText" Text="[insert text here]" runat="server" /> 
                                                                    </td> 
                                                                </tr> 
                                                                <tr> 
                                                                    <td> 
                                                                        Document Title : 
                                                                    </td> 
                                                                    <td> 
                                                                        <asp:Label ID="uiDocumentTitleLabelText" Text="[insert text here]" runat="server" /> 
                                                                    </td> 
                                                                </tr> 
                                                                <tr> 
                                                                    <td> 
                                                                        Owner : 
                                                                    </td> 
                                                                    <td> 
                                                                        <asp:HyperLink ID="uiDocOwnerLabelText" Text="[insert text here]" runat="server" /> 
                                                                    </td> 
                                                                </tr> 
                                                                </tr> 
                                                                <tr> 
                                                                    <td> 
                                                                        Admin Owner : 
                                                                    </td> 
                                                                    <td> 
                                                                        <asp:HyperLink ID="uiDocAdminOwnerLabelText" Text="[insert text here]" runat="server" /> 
                                                                    </td> 
                                                                </tr> 
                                                                <tr> 
                                                                    <td> 
                                                                        Due Date : 
                                                                    </td> 
                                                                    <td> 
                                                                        <asp:Label ID="uiDueDateLabelText" Text="[insert text here]" runat="server" /> 
                                                                    </td> 
                                                                </tr> 
                                                            </table> 
                                                            <div style="margin-left: 10px; margin-bottom: 5px;"
                                                                Administrator Comments : 
                                                                <asp:TextBox ID="uiAdministratorComments" ReadOnly="true" TextMode="multiline" Height="125" 
                                                                    Width="350" runat="server" /> 
                                                            </div> 
                                                            <div style="margin-left: 10px; margin-bottom: 5px;"
                                                                Document History Notes : 
                                                                <asp:TextBox ID="uiAuditTrailNotes" ReadOnly="true" TextMode="multiline" Height="125" 
                                                                    Width="350" runat="server" /> 
                                                            </div> 
                                                            <div style="margin-left: 10px; margin-bottom: 5px;"
                                                                <asp:Label ID="uiApproverText" Text="[insert text here]" runat="server" /> 
                                                                <div style="overflow-x: auto; overflow-y: scroll; height: 125px; width: 350px; 
                                                                    border: solid 1px #7F9DB9; background-color: White;"> 
                                                                    <asp:PlaceHolder ID="uiSummaryHeader" runat="server" /> 
                                                                </div> 
                                                            </div> 
                                                        </div> 
                                                    </asp:Panel> 
                                                </ItemTemplate> 
                                            </telerik:RadPanelItem> 
                                        </Items> 
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem Text="Comment History" Height="32px" Font-Bold="true" runat="server"
                                        <Items> 
                                            <telerik:RadPanelItem id="uiChatPanel" runat="server" Height="100%" BackColor="#EFEBDE"
                                                <ItemTemplate> 
                                                    <telerik:RadSplitter ID="ChatSplitter" runat="server" Height="98%" Width="398" Orientation="Horizontal" 
                                                        ResizeWithParentPane="false" PanesBorderSize="0" BorderSize="0" OnClientLoaded="scrollPositionBottom" 
                                                        OnClientResized="scrollPositionBottom"
                                                        <telerik:RadPane ID="uiChatPaneRadPane" runat="server" Scrolling="Y" BackColor="#EFEBDE"
                                                            <asp:PlaceHolder ID="uiChatConsole" runat="server" /> 
                                                        </telerik:RadPane> 
                                                        <telerik:RadSplitBar ID="uiTaskViewerSplitBar1" runat="server" CollapseMode="None" 
                                                            EnableResize="false" /> 
                                                        <telerik:RadPane Height="200" MinHeight="200" MaxHeight="200" ID="TopPane" runat="server" 
                                                            Scrolling="none" BackColor="#EFEBDE"
                                                            <div class="TaskViewerText" style="background-color: #EFEBDE;"
                                                                <div style="text-align: left; margin-top: 5px; margin-left: 10px;"
                                                                    Comment : 
                                                                </div> 
                                                                <div style="text-align: left; margin-top: 3px; margin-left: 10px;"
                                                                    <asp:TextBox ID="uiChatComment" runat="server" TextMode="multiline" Style="height: 120px; 
                                                                        width: 375px;">  
                                                                    </asp:TextBox> 
                                                                </div> 
                                                                <div style="text-align: right; margin-top: 10px; margin-right: 10px;"
                                                                    <asp:Button Text="Submit" OnClick="sendMessage_Click" runat="server" Enabled="false" 
                                                                        ID="sendMessage" Style="width: 100px;"></asp:Button> 
                                                                </div> 
                                                            </div> 
                                                        </telerik:RadPane> 
                                                    </telerik:RadSplitter> 
                                                </ItemTemplate> 
                                            </telerik:RadPanelItem> 
                                        </Items> 
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem Text="Voting Summary" Height="32px" Font-Bold="true" runat="server"
                                        <Items> 
                                            <telerik:RadPanelItem id="uiVotingPanel" runat="server"
                                                <ItemTemplate> 
                                                    <telerik:RadSplitter ID="VotingSplitter" runat="server" Height="100%" Width="398" 
                                                        Orientation="Horizontal" ResizeWithParentPane="false" PanesBorderSize="0" BorderSize="0" 
                                                        OnClientLoaded="SetSplitterHeight" OnClientResized="SetSplitterHeight"
                                                        <telerik:RadPane ID="uiVotingSummaryPanelUsers" runat="server" Scrolling="Y"
                                                            <asp:PlaceHolder ID="uiVotingSummary" runat="server" /> 
                                                        </telerik:RadPane> 
                                                        <telerik:RadSplitBar ID="uiTaskViewerSplitBar2" runat="server" CollapseMode="None" 
                                                            EnableResize="false" /> 
                                                        <telerik:RadPane Height="200" MinHeight="200" MaxHeight="200" ID="TopPane" runat="server" 
                                                            Scrolling="none"
                                                            <div class="TaskViewerText" style="height:200px; background-color: #EFEBDE;"
                                                                <div style="text-align: left; margin-top: 1px; margin-left: 10px;"
                                                                    Vote : 
                                                                </div> 
                                                                <div style="text-align: left; margin-top: 1px; margin-left: 10px;"
                                                                    <asp:TextBox ID="uiComment" runat="server" TextMode="multiline" Style="height: 120px; 
                                                                        width: 375px;">  
                                                                    </asp:TextBox> 
                                                                </div> 
                                                                <table style="width: 100%"
                                                                    <tr style="width: 100%"
                                                                        <td style="width: 50%"
                                                                        </td> 
                                                                        <td style="width: 50%"
                                                                            <div style="text-align: right; margin-top: 10px; margin-bottom: 20px; margin-right: 10px;"
                                                                                <asp:Button Text="Pass" OnClick="sendVotePass_Click" runat="server" ID="uiPassRadioButton" 
                                                                                    Style="width: 75px;"></asp:Button> 
                                                                                <asp:Button Text="Fail" OnClick="sendVoteFail_Click" runat="server" ID="uiFailRadioButton" 
                                                                                    Style="width: 75px;" Enabled="false"></asp:Button> 
                                                                            </div> 
                                                                        </td> 
                                                                    </tr> 
                                                                </table> 
                                                            </div> 
                                                        </telerik:RadPane> 
                                                    </telerik:RadSplitter> 
                                                </ItemTemplate> 
                                            </telerik:RadPanelItem> 
                                        </Items> 
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelBar> 

Nikolay Tsenkov
Telerik team
 answered on 19 May 2010
1 answer
65 views
I've a few versions of Asp.Net Ajax RadControls on my vs 2005 & 2008. After installing Asp.net Ajax Q1 2010, all of them were gone from the toolbox in vs 2008, but not 2005. How to get those back? I've been trying to repair, remove & install and it seems not helping.

Any ideas?
Sebastian
Telerik team
 answered on 19 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?