Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
Hello,

I have a chart and when i do zoom in my chart, i lose the graphic but when i do zoom out, the graphic come back....
The zoom works sometimes, and if the zoom works, i do again zoom and i lose the graphic...

what could be happening?

Thank...
Daniel Botero Correa

i attach the images...
Giuseppe
Telerik team
 answered on 26 Jan 2010
3 answers
176 views
Hi all,

I'm using event Rate but....when I click for rate, the event don't work.
Any idea?

Thanks,
Vito
Tsvetie
Telerik team
 answered on 26 Jan 2010
1 answer
135 views
Hi

I'm trying to add Dock's to a DockZone dynamically. No problem with that. Docks get added to DockZone, but I want to insert a doc to a particular position (between 2 docks); which Im having problems with.

This is what Im trying to do:
a. RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Controls.Add(dock);

Always adds to the start of the doczone.

b. Tried,
RadDockZone CurrDocZone = (RadDockZone)FindControl(DocZoneToAdd);
CurrDocZone.Docks.Insert(Position, dock);    
or
CurrDocZone.Controls.AddAt(Position, dock);               

But it throws exception that, A control with ID '<some unique Dock ID>' could not be found for the trigger in UpdatePanel 'UpdatePanel2'.

Can you pls. let me know what could be wrong in there... Pls. let me know if you need more info.

Thanks



Pero
Telerik team
 answered on 26 Jan 2010
1 answer
73 views
When I perform any action on the radgrid (eg edit, add record, refresh) the grid vanishes down to a 2px horizontal line even when i navigate to next page when paging is enabled, Anyhelp on this will be really appreciated.This was not happening previously it just started and i am using Radcontrols for asp.net ajax 2009 trial version . I have already bought the full version , was just waiting to test this application and deploy on the production server using full version
Daniel
Telerik team
 answered on 26 Jan 2010
1 answer
169 views
Hi,

I have grid view with update, add new and delete functionality. I use datasource to that operation. When i update data some data is not updating. As my focus textboxes filed cant update. Other data is updating. I highligtht below wich columns are not update

 <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" Width="750px"
            AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
                                        GridLines="None" DataSourceID="SqlTransmital"
                                AllowSorting="True" Skin="Web20"
            ClientDataKeyNames="VTransID"  DataMember="DefaultView" >
                                <MasterTableView AutoGenerateColumns="False" DataKeyNames="VTransID"
                                    CommandItemDisplay="Top" AllowAutomaticDeletes="true"
                                    AllowAutomaticInserts="true" AllowAutomaticUpdates="true">                                
                                  <Columns>
                                      <telerik:grideditcommandcolumn ButtonType="ImageButton">
                                      </telerik:GridEditCommandColumn>
                                        
                                        
                                        <telerik:gridtemplatecolumn UniqueName="VReasonforIssueID"
                                          HeaderText="Reason for Issue" DataField="VReasonforIssueID">
                                 <ItemTemplate>                                 
                                 <asp:Literal ID="ltrREason" runat="server"  Text ='<%#Eval("VReasonForIssue") %>' ></asp:Literal>
                                          
                                 </ItemTemplate>
                                 <EditItemTemplate>
                                 
                                 <telerik:radcombobox runat="server"
                                             ID="ddlReasonEdit"
                                             DataTextField="VReasonForIssue"
                                             DataValueField="VReasonforIssueID"
                                             HighlightTemplatedItems="true"
                                             Height="190px"
                                             Width="200px"
                                             DropDownWidth="200px"
                                             EnableItemCaching="True"
                                             EnableLoadOnDemand="True"
                                             emptymessage="Please select one..."
                                             allowcustomtext="True"
                                                DataSourceID="sqlReason"
                                                SelectedValue='<%#Bind("VReasonforIssueID") %>'></telerik:RadComboBox>
                                                
                                  <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="ddlReasonEdit" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                  
                                 </EditItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        
                                        
                                         <telerik:gridtemplatecolumn UniqueName="VendorDocRev"
                                          HeaderText="Vendor Doc Rev" DataField="VendorDocRev">
                                         <ItemTemplate>
                                         
                                         <asp:Literal ID="ltrVendorDocRev" runat="server"     Text ='<%#Bind("VendorDocRev") %>' ></asp:Literal>
                                         </ItemTemplate>
                                         
                                         <EditItemTemplate>                                         
                                            <asp:TextBox ID="VendorDocRev"  Text ='<%#Eval("VendorDocRev") %>' runat="server"></asp:TextBox>
                                         
                                           
                                         </EditItemTemplate>
                                         </telerik:GridTemplateColumn>     
                                       
 
                                                                     
                                        <telerik:gridtemplatecolumn UniqueName="VendorTransDate"
                                          HeaderText="Vendor Incoming Trans Date" DataField="VendorTransDateF">
                                         <ItemTemplate>
                                         
                                         <asp:Literal ID="TDate" runat="server"     Text ='<%#Bind("VendorTransDateF") %>' ></asp:Literal>
                                         
                                            
                                         
                                         </ItemTemplate>
                                         
                                         <EditItemTemplate>
                                             <telerik:raddatepicker ID="RadOurTransDateEdit" runat="server"
                                                 DbSelectedDate='<%#Bind("VendorTransDate") %>' Width="100px"  
                                                 DateInput-DateFormat="dd/MM/yyyy"  >
                                             </telerik:RadDatePicker>
                                         
                                         </EditItemTemplate>
                                         </telerik:GridTemplateColumn>                                
                                                                                
                                        
                                        <telerik:gridtemplatecolumn UniqueName="VendorTransNo"
                                          HeaderText="Vendor Trans No" DataField="VendorTransNo">
                                         <ItemTemplate>
                                         
                                         <asp:Literal ID="ltrVendorTransNo" runat="server"     Text ='<%#Bind("VendorTransNo") %>' ></asp:Literal>
                                         </ItemTemplate>
                                         
                                         <EditItemTemplate>                                         
                                            <asp:TextBox ID="VendorTransNo" Text ='<%#Eval("VendorTransNo") %>' runat="server"></asp:TextBox>
                                         
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                                                ControlToValidate="VendorTransNo" ErrorMessage="*"
                                                ValidationExpression="^[0-9]+$">
                                            </asp:RegularExpressionValidator>                                              
                                         
                                         </EditItemTemplate>
                                         </telerik:GridTemplateColumn>  
                                   
      
                                                                                                                      
                                        <telerik:GridBoundColumn DataField="VOurDocRev" HeaderText="Cam Doc Rev"  
                                            UniqueName="VOurDocRev">
                                        </telerik:GridBoundColumn>
                                                                                
                                        <telerik:GridTemplateColumn UniqueName="VOurTransRetDate"
                                          HeaderText="Cam to Vendor Trans Date" DataField="VOurTransRetDateF">
                                         <ItemTemplate>
                                             <asp:Literal ID="TCDate" runat="server"     Text ='<%#Bind("VOurTransRetDateF") %>' ></asp:Literal>

                                            
                                         
                                         </ItemTemplate>
                                         
                                         <EditItemTemplate>
                                             <telerik:raddatepicker ID="RadCRtrnDateEdit" runat="server"
                                                 DbSelectedDate='<%#Bind("VOurTransRetDate") %>' Width="100px"  
                                                 DateInput-DateFormat="dd/MM/yyyy">
                                             </telerik:RadDatePicker>
                                         
                                         </EditItemTemplate>
                                         </telerik:GridTemplateColumn>
                                                                               
                                                                              
                                       
                                       <telerik:gridtemplatecolumn UniqueName="VOurRtrnTransNo"
                                          HeaderText="VOur Rtrn Trans No" DataField="VOurRtrnTransNo" >
                                         <ItemTemplate>
                                         
                                         <asp:Literal ID="ltrVOurRtrnTransNo" runat="server"     Text ='<%#Bind("VOurRtrnTransNo") %>' ></asp:Literal>
                                         </ItemTemplate>
                                         
                                         <EditItemTemplate>                                         
                                            <asp:TextBox ID="VOurRtrnTransNo" Text ='<%#Eval("VOurRtrnTransNo") %>'  runat="server"></asp:TextBox>
                                         
                                         
                                         
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
                                                ControlToValidate="VOurRtrnTransNo" ErrorMessage="*"
                                                ValidationExpression="^[0-9]+$">
                                            </asp:RegularExpressionValidator>                                              
                                         
                                         </EditItemTemplate>
                                         </telerik:GridTemplateColumn>
                                     
    
 
                                      
                                        <telerik:gridtemplatecolumn UniqueName="OurRtrnCodeID"
                                          HeaderText="Cam Return Code" DataField="OurRtrnCode">
                                         <ItemTemplate>
                                         
                                          <asp:Literal ID="ltrClientRtn" runat="server"     Text ='<%#Eval("OurRtrnDescription") %>' ></asp:Literal>
                                          
                                 
                                                                                         
                                 </ItemTemplate>
                                 <EditItemTemplate>
                                 
                                 <telerik:radcombobox runat="server"
                                             ID="ddlClientReturnEdit"
                                             DataTextField="ReturnDescription"
                                             DataValueField="OurRtrnCodeID"
                                             HighlightTemplatedItems="true"
                                             Height="190px"
                                             Width="200px"
                                             EnableItemCaching="True"
                                             EnableLoadOnDemand="True"
                                             DropDownWidth="200px"
                         emptymessage="Please select one..."
                                             allowcustomtext="True"
                                                DataSourceID="sqlClientReturn"
                                                SelectedValue='<%#Bind("OurRtrnCodeID") %>'></telerik:RadComboBox>
                     
                                 
                                 </EditItemTemplate>
                                 
                                 </telerik:GridTemplateColumn>
                                        <telerik:gridbuttoncolumn ButtonType="ImageButton" CommandName="Delete" ConfirmText="Are you sure delete this record?"
                                        Text="Delete" UniqueName="column1">
                                    </telerik:GridButtonColumn>
                                    </Columns>
                                <EditFormSettings>

             <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record"
                        UniqueName="EditCommandColumn1" CancelText="Cancel edit">
                    </EditColumn>

                                </EditFormSettings>
                                </MasterTableView>
                                  </telerik:RadGrid>
                           
                                <asp:SqlDataSource ID="SqlTransmital"
                                    
                                    ConnectionString="<%$ ConnectionStrings:SiteSqlServer1 %>"
                                    SelectCommand="SELECT convert(varchar(10),VendorTransDate,103) as VendorTransDateF,convert(varchar(10),VOurTransRetDate,103) as VOurTransRetDateF, * FROM [qry_data_VendorTransmittals] WHERE (DocNo = @DocNo)"
                                    DeleteCommand ="Delete from [tbl_DATA_VendorTransmittals] where VTransID=@VTransID"
                                    
                                    InsertCommand="insert into tbl_DATA_VendorTransmittals ([VendorDocRev],[VendorTransDate],VReasonforIssueID,
                                    [VOurTransRetDate],[VOurRtrnTransNo],OurRtrnCodeID,DocNo,[VendorTransNo],VOurDocRev) values(@VendorDocRev,@VendorTransDate,
                                    @VReasonforIssueID,@VOurTransRetDate ,@VOurRtrnTransNo,@OurRtrnCodeID,@DocNo,@VendorTransNo,@VOurDocRev) "
                                    
                                    UpdateCommand="update tbl_DATA_VendorTransmittals set [VendorDocRev]=@VendorDocRev, [VendorTransDate]=@VendorTransDate,[VendorTransNo]=@VendorTransNo,
                                    VReasonforIssueID=@VReasonforIssueID, [VOurTransRetDate]=@VOurTransRetDate,
                                    [VOurRtrnTransNo]=@VOurRtrnTransNo,OurRtrnCodeID=@OurRtrnCodeID, VOurDocRev=@VOurDocRev where VTransID=@VTransID" runat="server">
                                                                                
                                    
                                  <SelectParameters>                                                                           
                                        <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="DocNo" />
                                    </SelectParameters>
                                    <DeleteParameters>
                                        <asp:Parameter Name="VTransID" Type="Int32" />
                                    
                                    </DeleteParameters>
                                    
                                    <UpdateParameters>
                                    <asp:Parameter Name="VTransID" Type="Int32" />                                    
                                    <asp:Parameter Name="VendorDocRev" Type="String" />
                                    <asp:Parameter Name="VendorTransDate" Type="DateTime" />
                                    <asp:Parameter Name="VendorTransNo" Type="Int32" />
                                    <asp:Parameter Name="VReasonforIssueID" Type="Int32" />
                                    <asp:Parameter Name="VOurTransRetDate" Type="DateTime" />
                                    
                                <asp:Parameter Name="VOurRtrnTransNo" Type=String  />
                                    <asp:Parameter Name="OurRtrnCodeID" Type="Int32" />
                                    <asp:Parameter Name="VOurDocRev" Type="String" />
                                    
                                    </UpdateParameters>
                                    
                                    <InsertParameters>
                                    <asp:Parameter Name="VOurDocRev" Type="String" />
                                    <asp:Parameter Name="VTransID" Type="Int32" />                                    
                                    <asp:Parameter Name="VendorDocRev" Type="String" />
                                    <asp:Parameter Name="VendorTransDate" Type="DateTime" />
                                    <asp:Parameter Name="VendorTransNo" Type="Int32" />
                                    <asp:Parameter Name="VReasonforIssueID" Type="Int32" />
                                    <asp:Parameter Name="VOurTransRetDate" Type="DateTime" />
                                    <asp:Parameter Name="VOurRtrnTransNo" Type="Int32" />
                                    <asp:Parameter Name="OurRtrnCodeID" Type="Int32" />                                    
                                    <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="DocNo" />
                                    
                                    </InsertParameters>
                                </asp:SqlDataSource>
      
Only bold feilds are not updating. Others updating is fine

krds
lakmal

lakmal
Top achievements
Rank 2
 answered on 26 Jan 2010
4 answers
142 views
I've followed the installation instructions from here: http://www.telerik.com/help/aspnet-ajax/installing-radeditor-in-moss-2007-farm.html

  1. I've Installed asp.net 2.0 extensions 1.0
  2. added all those items to the web.conf for the web app as posted here: http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=3
  3. I've added the script manager to the masterpage
  4. I uninstalled both features and made it available from for activation on the site collection level
  5. I've iisreset everything.
  6. features are activated

its still not being displayed when i edit a list item.

plz help.

Thomas
Top achievements
Rank 1
 answered on 26 Jan 2010
8 answers
120 views
Hi:

I am trying to launch a RadWindow from a Master/Detail RadGrid.  Once all editing is done would like to rebind the data in the source detail part of the grid.  Lauched grid like I have done in the past, but now need to disable viewstate.  Have JavaScript to tell host page that I am closing and should rebind (fine there too).  Host page is AjaxManager request event is posted and the data bind command is executed.
RadGrid1.DataBind() 
But the grid seem to be the same.  So is the above sufficient to bind the detail data? 
Secondly, I was thinking that ajaxs needs to understand to refresh that control, so I added RadAjaxManager to the grid and the manager and then the RadWindow stopped launching.
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="RadGrid1"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 
How can I keep the window launching?
Phil

Phil
Top achievements
Rank 2
 answered on 26 Jan 2010
2 answers
123 views
Is there something different about a RadCombo box and how it is rendered with the width property? When ever I set the width property to the same width as another control (usually a text box) I notice that the rendered combo width is usually not as wide as the other controls set to the same width. Looks like it around 5 pixels shorter. I always have to tweak it to make it line up with the other controls on the page.

Teodorico
Top achievements
Rank 1
 answered on 26 Jan 2010
2 answers
179 views
Hi Telerik team!
I'm having trouble with the RadCaptcha and I'm hoping you can show me what I'm doing wrong.  I have a web garden and I have set the handler's path to "Telerik.Web.UI.WebResourceSession".  When I clicked "Generate New Image" and entered the resulting code, the IsValid property is false during postback.  If I use the initial image and not generate a new one, the entered code will be accepted.  Below is the aspx code:

 

 

 

      <p> 
        <asp:Label runat="server" AssociatedControlID="m_captchaText" 
          style="display:block !important;font-size:smaller;color:Gray" 
          Text="This verification deters automated registrations" /> 
        <asp:TextBox ID="m_captchaText" runat="server" MaxLength="10" /> 
      </p> 
      <telerik:RadCaptcha ID="m_captcha" runat="server"   
        ProtectionMode="Captcha" EnableRefreshImage="true" 
        ImageStorageLocation="Session" MinTimeout="3" 
        ValidatedTextBoxID="m_captchaText">  
        <CaptchaImage BackgroundColor="#DBEAF5" BackgroundNoise="Low" 
          FontWarp="Low" LineNoise="Medium" TextColor="#336699" 
          TextLength="5" UseRandomFont="true" RenderImageOnly="true" /> 
      </telerik:RadCaptcha> 

Thank you for your help.

Eric Yee
Top achievements
Rank 1
 answered on 25 Jan 2010
1 answer
140 views
Is it possible to persist the expanded state of a hierarchical grid when the user leaves the page and then returns at a later point?

I've tried a few of the methods described in the forum related to hashtables and viewstates and I can't seem to get it to work.

Basically we have a hierarchical grid with 3 levels that is contained within an updatepanel and that gets its data from OnNeedDataSource. The grid has links within it with which the user may navigate off of the page. But when they return we'd like to have them come back to the same expanded view they had originally without having to re-expand each of the levels.

Any guidance would be much appreciated - thanks!
Schlurk
Top achievements
Rank 2
 answered on 25 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?