Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
321 views
Is it possible to take the grid row into Inline Edit Mode on a single click. I want the previous row's update command to be fired and the edited row's Edit Command events to be fired. If the update command fails due to validation, I want to be able to retain the user in the previous row. There is an example using double-click and click which I have already looked into but I want to something similar with a single row click.

Thanks
Shanthala Somashekar
Top achievements
Rank 1
 answered on 16 Jul 2009
2 answers
104 views
I don't know if I'm missing something but the tools bold, italic, Ordered, unorderedlist, indent, outdent don't work. Can someone please help?


 

 

 
<telerik:RadEditor ID="htmlEditor" runat="server" OnClientLoad = "OnClientLoad" 
                        AllowScripts="True" Width="100%" Height="500" Skin="Vista" EditModes="Design,Html"  > 
                        <Tools> 
                            <telerik:EditorToolGroup> 
                            <telerik:EditorTool Name="btnSave" Text="Save" ShowIcon="false" ShowText="true" /> 
                            <telerik:EditorSeparator Visible="true" /> 
                            <telerik:EditorTool Name="Cut" /> 
                            <telerik:EditorTool Name="Copy" /> 
                            <telerik:EditorTool Name="Paste" /> 
                            <telerik:EditorSeparator Visible="true" />   
                                                       
                            <telerik:EditorTool Name="Undo" /> 
                            <telerik:EditorTool Name="Redo" /> 
                              
                            <telerik:EditorSeparator Visible="true" /> 
                            <telerik:EditorTool Name="FontName"  />    
                            <telerik:EditorTool Name="RealFontSize" Text="Size"/>     
                            <telerik:EditorTool Name="ForeColor" />    
                            <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />    
                            <telerik:EditorTool Name="Italic" ShortCut="Ctrl+I" />    
                            <telerik:EditorTool Name="Underline" ShortCut="Ctrl+U" />    
                            <telerik:EditorTool Name="JustifyLeft" />    
                            <telerik:EditorTool Name="JustifyCenter" />    
                            <telerik:EditorTool Name="JustifyRight" />    
                            <telerik:EditorTool Name="InsertUnorderedList" />    
                            <telerik:EditorTool Name="InsertOrderedList" />    
                            <telerik:EditorTool Name="Indent" />    
                            <telerik:EditorTool Name="Outdent" />    
                            <telerik:EditorSeparator Visible="true" /> 
 
                            <telerik:EditorTool Name="TemplateManager" /> 
                            <telerik:EditorSeparator  Visible="true" /> 
                            <telerik:EditorTool Name="btnPreviewIE" Text="Preview IE" ShowIcon="false" ShowText="true"  /> 
                            <telerik:EditorTool Name="btnPreviewFF" Text="Preview Firefox" ShowIcon="false" ShowText="true"  /> 
                            <telerik:EditorTool Name="btnPreviewSafari" Text="Preview Safari" ShowIcon="false" ShowText="true"  /> 
                          </telerik:EditorToolGroup> 
                            
                          </Tools> 
                        <Snippets> 
                            <telerik:EditorSnippet Name="First Name">  
                                &nbsp;&nbsp;<h1>%%FirstName%%</h1> 
                            </telerik:EditorSnippet> 
                            <telerik:EditorSnippet Name="Last Name">  
                                &nbsp;&nbsp;<h1>%%LastName%%</h1>     
                            </telerik:EditorSnippet> 
                        </Snippets> 
                        <MediaManager DeletePaths="~/WebApp" UploadPaths="~/WebApp"   
                            ViewPaths="~/WebApp" /> 
                        <DocumentManager SearchPatterns="*.*"  DeletePaths="~/Common" UploadPaths="~/Common"   
                            ViewPaths="~/Common" /> 
                        <TemplateManager DeletePaths="~/Templates" UploadPaths="~/templates" ViewPaths="~/Templates" />                             
                        <Content>                  
                        </Content> 
                        <ImageManager DeletePaths="~/resources/crm/images" SearchPatterns="*.png,*.gif"   
                            UploadPaths="~/resources/crm/images" ViewPaths="~/resources/crm/images" /> 
                    </telerik:RadEditor>       

 

Shiv
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
91 views
Hi all,


I need to know how to increase the font size of the date inside the cell in month view in scheduler. Please post some examples.

Thanks,
Saravanan.S


Princy
Top achievements
Rank 2
 answered on 16 Jul 2009
18 answers
342 views
Hello,
From the rad editor - select image manager.
All images are viewable, I can upload, delete, and re-name.

However if I select an image and go to properties the height is always 15 and the width is always 0.
If I just select an image (skipping viewing properties) and insert in into the rad editor content area there will be a style that set width=0 and height =15.

What's the bug here?
thanks!!

rolling with:
2009, sp 1
c#
.net 3.5
iis7
Ben Baker
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
78 views
i have added mutiple usercontrols in a single page, and each usercontrols are using RadToolTipManager for displaying data in tooltip of RadGrid(item cell), but im facing problem, as sometimes it shows tooltip and sometimes doesn't. Is there any limitation of using multiple RadToolTipManager in a single page. Or what is the solution for this problem? Can anybody please suggest it?
Svetlina Anati
Telerik team
 answered on 16 Jul 2009
1 answer
177 views
Hello everybody !

I'm actually using Telerik Scheduler Q2 2009, and when I add some ressources allowing multiple values (AllowMultipleValues = "true"), I obtains the following error

[OleDbException (0x80040e21): Multiple-step OLE DB operation generated errors.Check each OLE DB status value, if available. No work was done.]
Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.OnDataSourceOperationComplete(Int32 count, Exception e) +16
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) +77
Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.Insert(RadScheduler owner, Appointment appointmentToInsert) +130
Telerik.Web.UI.Scheduling.AppointmentController.InsertAppointmentThroughProvider(Appointment appointment) +31
Telerik.Web.UI.RadScheduler.InsertAppointmentInline() +106
Telerik.Web.UI.RadScheduler.OnBubbleEvent(Object source, EventArgs args) +326
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +118
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

I'm using a Microsoft Access 2003 Database, is it due to Access ? or is it an error i've done ?

Thanks you very much for your help
Andrew
Peter
Telerik team
 answered on 16 Jul 2009
1 answer
109 views

Hi,

We are using Rad window popup. The problem is on opening the popup we get scrollbars. We want to avoid horizontal scrollbar.

We are using the following code.

 

function OpenLookUp(url,width,Height)

    {

   

      var oWindow = window.radopen(url,null);

      oWindow.SetSize (width, Height);

              

    }

And we are calling this method from a column in grid.

<rad:GridTemplateColumn>

                                <ItemTemplate>

                                    <a href="javascript:OpenLookUp('LogDetails.aspx?ProductId=<%#Eval("logId")%>','700','550');">Details</a>

                                </ItemTemplate>

                            </rad:GridTemplateColumn>

 

It happens in all the popups even if the content is very less the scrollbar appears.

Regards,
Bala

Fiko
Telerik team
 answered on 16 Jul 2009
1 answer
177 views

Hi,
I want to override default close in radwindow (at top-right icon).
I tried in js:

TelerikTelerik.Web.UI.RadWindow.prototype.oldClose = Telerik.Web.UI.RadWindow.prototype.close;  
Telerik.Web.UI.RadWindow.prototype.close = function(callBackFnArg) {  
    //your code goes here     
    alert("closing");  
    //call old close method     
    this.oldClose(callBackFnArg);  
}; 
but I get an error about: no definition of 'Telerik'.
So how can I write my own close function in js?
Fiko
Telerik team
 answered on 16 Jul 2009
2 answers
74 views
Is it possible filter only 1 item at a time in the grid? For instance...if a user clicks the filter button, the row expands to display my controls. Now if the user filters a different row, i would like it to close the previous filtered row, then display the currently selected row.
I used the following example...
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx


Ben
Top achievements
Rank 1
 answered on 16 Jul 2009
3 answers
541 views

I'm trying to emulate the "Client-side" data binding demo page, but when i try to get the mastertableview in javascript, i get an error about it being null.  After some searching here in the forums, i saw that i couldn't get the mastertableview until after the gridCreated client event had fired.  I tried moving my code here, but the function isn't being called.  The code for the grid is attached below.

Thanks,
Matt

                <tel:RadGrid ID="kgSearch" runat="server" Skin="Vista">  
                   <MasterTableView TableLayout="Fixed">  
                        <Columns> 
                            <tel:GridBoundColumn DataField="USER_ID" HeaderText="User ID"></tel:GridBoundColumn> 
                            <tel:GridBoundColumn DataField="LAST_NAME" HeaderText="Last Name"></tel:GridBoundColumn> 
                            <tel:GridBoundColumn DataField="FIRST_NAME" HeaderText="First Name"></tel:GridBoundColumn> 
                            <tel:GridBoundColumn DataField="USERNAME" HeaderText="Username"></tel:GridBoundColumn> 
                        </Columns>                          
                   </MasterTableView> 
                   <ClientSettings> 
                    <ClientEvents OnGridCreated="gridCreated" /> 
                   </ClientSettings> 
                </tel:RadGrid> 
Matt
Top achievements
Rank 1
 answered on 16 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?