Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
95 views
Hello!
I want to show unique hints in everybody rows of RadGrid? How do it?
thanks
Eugene Volf
Top achievements
Rank 1
 answered on 01 Oct 2009
1 answer
97 views
Hello,

I have a problem which I fail to rectify...


I am using RadSplitter, in which I have two rad pane . I use a tree in one pane and repeater in another pane which is updated from tree click, and one more thing the repeater pane is collapsed at page load and is expanded from code. Now my problem is when I click on the tree first time the rad pane(repeaterPane) expands and shows the content but when I click tree next time, the contents in the radePane(repeaterPane) are not visible. but when I collapse and expand it the contents are visible.  Please help im totally stuck.
Tsvetie
Telerik team
 answered on 01 Oct 2009
3 answers
142 views
Hi,

I am receiving the below error when trying to use the AJAX Spell Checker in the RadEditor Control.  It will periodically perform a spell check but often gives this error:

Spell Check Handler Server Error:500
Invalid character in a Base-64 string

<body> 
 
    <form id="form1" runat="server">  
      
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <div id="Rad" style="text-align:center;">  
 
    <br /><br /> 
                 <telerik:radspell id="spell1" runat="server" buttontype="none" /> 
                 <telerik:RadEditor ID="RadEditor1" runat="server" Width="517px" Skin="Vista">  
                 <SpellCheckSettings SpellCheckProvider="PhoneticProvider" WordIgnoreOptions="RepeatedWords" />   
                 <Tools> 
                 <telerik:EditorToolGroup> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="Print" /> 
                 <telerik:EditorTool Name="AJAXSpellCheck" /> 
                                    
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="Cut" /> 
                 <telerik:EditorTool Name="Copy" /> 
                 <telerik:EditorTool Name="Paste" /> 
                 <telerik:EditorTool Name="PasteStrip" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="Undo" /> 
                 <telerik:EditorTool Name="Redo" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="LinkManager" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="FontName" /> 
                 <telerik:EditorTool Name="FontSize" /> 
                 <telerik:EditorTool Name="ForeColor" />   
                     
                 <telerik:EditorSeparator /> 
                                                
                 </telerik:EditorToolGroup> 
                 <telerik:EditorToolGroup> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="JustifyLeft" /> 
                 <telerik:EditorTool Name="JustifyCenter" /> 
                 <telerik:EditorTool Name="JustifyRight" /> 
                 <telerik:EditorTool Name="JustifyFull" /> 
                   
                 <telerik:EditorSeparator />               
                   
                 <telerik:EditorTool Name="Bold" /> 
                 <telerik:EditorTool Name="Italic" /> 
                 <telerik:EditorTool Name="Underline" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="Indent" /> 
                 <telerik:EditorTool Name="Outdent" />                   
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="InsertOrderedList" /> 
                 <telerik:EditorTool Name="InsertUnorderedList" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 <telerik:EditorTool Name="InsertSymbol" /> 
                   
                 <telerik:EditorSeparator /> 
                   
                 </telerik:EditorToolGroup> 
                 </Tools> 
                     <Content> 
</Content> 
                 </telerik:RadEditor> 
                   
                 <br /> 
 
 
</div> 
      
    </form> 
</body> 
Lini
Telerik team
 answered on 01 Oct 2009
7 answers
132 views
Hi,

i am using the rad editor in our companies sharepoint environment. I need to add a cutom button to the rad editor which inserts a div with a little bit default html at the cursor position.

Is this possible? How can i do that?

thank you
yavuz
Stanimir
Telerik team
 answered on 01 Oct 2009
1 answer
138 views
hi

i have a telerik grid with this specification

<telerik:RadGrid ID="RadGrid1" runat="server"  GridLines="None"
          ...  DataSourceID="sqlBranchList" OnItemDeleted="RadGrid1_ItemDeleted"
            OnItemInserted="RadGrid1_ItemInserted"
           OnItemUpdated="RadGrid1_ItemUpdated" OnItemCommand="RadGrid1_ItemCommand"
            OnPreRender="RadGrid1_PreRender" Skin="Sunset">
            <MasterTableView CommandItemDisplay="TopAndBottom" DataSourceID="sqlBranchList"
                DataKeyNames="branchID">
                <Columns>
                   -- Some column with Update/Insert/delete button -- 
                 
                </Columns>
                <EditFormSettings EditFormType="Template">
            <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
                    <FormTemplate>
                        <table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none"
                            style="border-collapse: collapse; background: white;">
                             <tr>
<td>

                                            <asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="true"  DataSourceID="sqlSRVUserlist" DataTextField="userName" DataValueField="userID" >
                                           <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem>
                                                </asp:DropDownList>
                                       </td>
                            </tr>
                        </table>
                    </FormTemplate>
                </EditFormSettings>
                </MasterTableView>
            
            </telerik:RadGrid>

--------
so i have dropdownlist in editform that fill with this datasource :

<asp:SqlDataSource ID="sqlSRVUserlist" runat="server"
        ConnectionString="<%$ ConnectionStrings:eosWebConnectionString %>"
        SelectCommand="prcUserList" SelectCommandType="StoredProcedure">
    </asp:SqlDataSource>
    
   and i have this datasource for my grid.
    
    <asp:SqlDataSource ID="sqlBranchList" runat="server"
        ConnectionString="<%$ ConnectionStrings:eosWebConnectionString %>"
        SelectCommand="prcSearchBrnach" SelectCommandType="StoredProcedure"
        DeleteCommand="prcDeleteBranch" DeleteCommandType="StoredProcedure"
        InsertCommand="prcAddBranch" InsertCommandType="StoredProcedure"
        UpdateCommand="prcUpdateBranch" UpdateCommandType="StoredProcedure">
        <SelectParameters>
            <asp:Parameter DefaultValue="1" Name="branchStatus" Type="Int32" />
        </SelectParameters>
        <DeleteParameters>
            <asp:Parameter Name="branchID" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
        
            <asp:ControlParameter ControlID="DropDownList1" Name="userID"
                PropertyName="SelectedValue" Type="Int32" />
            <asp:Parameter Name="branchStatusID" Type="Int32" DefaultValue="1" />
            <asp:Parameter Name="branchID" Type="Int32" />
            <asp:Parameter Name="branchName" Type="String" />
        </UpdateParameters>
        <InsertParameters>
            <asp:ControlParameter  Name="userID"  ControlID="RadComboBox1"
                    PropertyName="SelectedValue" Type="Int32" />
            <asp:Parameter Name="branchStatusID" Type="Int32" DefaultValue="1" />
            <asp:Parameter Name="branchName" Type="String" />
        </InsertParameters>
    </asp:SqlDataSource>
   
------

but when i want to update a row this error is occurred:

Could not find control 'DropDownList1' in ControlParameter 'userID'

---

i think telerik grid in edit form mode can not find controls on the page.

please help me.
Martin
Telerik team
 answered on 01 Oct 2009
1 answer
94 views
Just a quick word of thanks to Telerik for developing the Style Builder. It has its quirks and issues, but overall is a great tool. I was able to create a custom theme for a new project for the entire RadControls set within 30 mins. Normally this would have taken hours if not days to complete.

Please continue to focus efforts on improving and advancing the Visual Style Builder. Its value to RadControls customers is immense!

Thanks again,

Kevin.
Paul
Telerik team
 answered on 01 Oct 2009
1 answer
119 views
Hello there,

I have an editform in a RadGrid, i use a template and in this template i placed a raddatepicker, but when i push on the little calender field to popup the calendar it shows a big way to the left. Sometimes out of the screen and sometimes just in depending on the position of the editform. How can i make the raddatepicker show up just like normally under the field?

Btw i tried to use a datepicker under the div and that one just worked fine, it only goes wrong when i use it within the editform.

Below my code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucKlantMutatie.ascx.cs" 
    Inherits="VEGAS.Klanten.ucKlantToevoegen" %> 
<link href="../App_Themes/hypotheekVegas/shHypotheek.css" rel="stylesheet" type="text/css" /> 
<link href="../App_Themes/vegas/forms-algemeen.css" rel="stylesheet" type="text/css" /> 
<div style="border-style: outset; width: 700px; border-color: Gray;"
    <telerik:RadGrid ID="RGKlantMutatie" runat="server" OnNeedDataSource="RGKlantMutatie_NeedDataSource" 
        OnUpdateCommand="RGKlantMutatie_UpdateCommand"  
        OnItemCommand="RGKlantMutatie_ItemCommand" GridLines="None" 
        Skin="Web20" AutoGenerateColumns="False"  
        OnItemDataBound="RGKlantMutatie_ItemDataBound"
        <MasterTableView EditMode="PopUp" CommandItemSettings-RefreshText="Vernieuw"
<CommandItemSettings AddNewRecordText="Voeg nieuwe datumcontrole toe" RefreshText="Vernieuw"></CommandItemSettings> 
            <Columns> 
                <telerik:GridBoundColumn DataField="intKlantID" Visible="True" SortExpression="intKlantID" 
                    UniqueName="intKlantID" HeaderText="Klant ID"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strNaam" Visible="True" SortExpression="strNaam" 
                    UniqueName="strNaam" HeaderText="Naam"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strVoorletters" HeaderText="Voorletters" SortExpression="strVoorletters" 
                    UniqueName="strVoorletters" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strTussenvoegsel" HeaderText="Tussenvoegsel" 
                    SortExpression="strTussenvoegsel" UniqueName="strTussenvoegsel" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strStraat" HeaderText="Straat" SortExpression="strStraat" 
                    UniqueName="strStraat" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strHuisnummer" HeaderText="Huisnr." SortExpression="strHuisnummer" 
                    UniqueName="strHuisnummer" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strToevoeging" HeaderText="Toevoeging" SortExpression="strToevoeging" 
                    UniqueName="strToevoeging" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strPlaats" HeaderText="Plaats" SortExpression="strPlaats" 
                    UniqueName="strPlaats" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strPostcode" HeaderText="Postcode" SortExpression="strPostcode" 
                    UniqueName="strPostcode" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridCheckBoxColumn DataField="blnAdresVerouderd" DataType="System.Boolean" 
                    HeaderText="Adres verouderd" SortExpression="blnAdresVerouderd" UniqueName="blnAdresVerouderd"
                </telerik:GridCheckBoxColumn> 
                <telerik:GridBoundColumn DataField="strEmail" HeaderText="E-mail" SortExpression="strEmail" 
                    UniqueName="strEmail" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="intNationaliteitID" HeaderText="Nationaliteit" 
                    SortExpression="intNationaliteitID" UniqueName="intNationaliteitID" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strGeslacht" HeaderText="Geslacht" SortExpression="strGeslacht" 
                    UniqueName="strGeslacht" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strBurgelijkestaat" HeaderText="Burgerlijke staat" 
                    SortExpression="strBurgelijkestaat" UniqueName="strBurgelijkestaat" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strBSN" HeaderText="BSN" SortExpression="strBSN" 
                    UniqueName="strBSN" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strRekeningnummer" HeaderText="Rekeningnummer" 
                    SortExpression="strRekeningnummer" UniqueName="strRekeningnummer" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="intLegitimatietypeID" HeaderText="Legitimatietype" 
                    SortExpression="intLegitimatietypeID" UniqueName="intLegitimatietypeID" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="strLegitimatienummer" HeaderText="Legitimatienummer" 
                    SortExpression="strLegitimatienummer" UniqueName="strLegitimatienummer" Visible="True"
                </telerik:GridBoundColumn> 
                <telerik:GridEditCommandColumn EditText="Wijzig" UniqueName="EditCommandColumn"
                </telerik:GridEditCommandColumn> 
            </Columns> 
            <EditFormSettings EditFormType="Template" PopUpSettings-Height="460px" PopUpSettings-Width="800px"
<EditColumn UniqueName="EditCommandColumn1"></EditColumn> 
                <FormTemplate> 
                    <table id="Table2" cellspacing="2" cellpadding="1" width="1000" border="0" rules="none" 
                        style="border-collapse: collapse; background: white;"
                        <tr> 
                            <td colspan="2" style="font-size: small"
                                <b>SubTrajectstap details</b> 
                            </td> 
                        </tr> 
                            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Naam:</td> 
                    <td width="250"><asp:textbox id="txtNaam" Width="250px" MaxLength="30" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100">Voorletters:</td> 
                    <td width="75"><asp:textbox id="txtVoorletters" Width="75" MaxLength="10" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100">Tussenvoegsel:</td> 
                    <td width="75"><asp:textbox id="txtTussenvoegsel" Width="75" MaxLength="10" runat="server" CssClass="pers-textbox"></asp:textbox></td
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Straat:</td> 
                    <td width="250"><asp:textbox id="txtAdres" Width="250" MaxLength="30" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100">Huisnummer:</td> 
                    <td width="75"><asp:textbox id="txtHuisnummer" Width="75" MaxLength="5" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100">Toevoeging:</td> 
                    <TD width="75"><asp:textbox id="txtToevoeging" Width="75" MaxLength="10" runat="server" CssClass="pers-textbox"></asp:textbox></td
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Plaats:</td> 
                    <td width="250"><asp:textbox id="txtPlaats" Width="250" MaxLength="30" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100">Postcode:</td> 
                    <td width="75"><asp:textbox id="txtPostcode" Width="75" MaxLength="7" runat="server" CssClass="pers-textbox"></asp:textbox></td
                    <td class="form-label" width="100" nowrap>Adres verouderd:</td> 
                    <td width="75"><telerik:RadComboBox ID="cboVerouderd" Runat="server"  
                            Enabled="False" Width="75"
                        </telerik:RadComboBox></td
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Telefoon:</td> 
                    <td width="100"><asp:textbox id="txtTelefoon" Width="100" MaxLength="15" runat="server" CssClass="pers-textbox"></asp:textbox></TD
                    <td class="form-label" width="100">Mobiel:</td> 
                    <td width="100"><asp:textbox id="txtMobiel" Width="100" MaxLength="15" runat="server" CssClass="pers-textbox"></asp:textbox></TD
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Email:</td> 
                    <TD width="500"><asp:textbox id="txtEmail" Width="500" MaxLength="50" runat="server" CssClass="pers-textbox"></asp:textbox></td
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Geboortedatum:</td> 
                    <td width="200"
                        <telerik:RadDatePicker ID="dtpGeboortedatum" runat="server" Calendar-CultureInfo="nl-NL" Enabled="True" DateInput-MinDate="1-1-1900 0:00:00" MinDate="1-1-1900 0:00:00" DateInput-ForeColor="#666666" DatePopupButton-Visible="True" DateInput-DateFormat="dd-MM-yyyy" DateInput-DisplayDateFormat="dd-MM-yyyy"
                        </telerik:RadDatePicker> 
                    </td> 
                    <td class="form-label" style="WIDTH: 100px" width="100">Overlijdensdatum:</td> 
                    <td width="200"
                        <telerik:RadDatePicker ID="dtpOverlijdensdatum" runat="server" Calendar-CultureInfo="nl-NL" Enabled="True" DateInput-MinDate="1-1-1900 0:00:00" MinDate="1-1-1900 0:00:00" DateInput-ForeColor="#666666" DatePopupButton-Visible="True" DateInput-DateFormat="dd-MM-yyyy" DateInput-DisplayDateFormat="dd-MM-yyyy"
                        </telerik:RadDatePicker> 
                    </td> 
                    <td class="form-label" style="WIDTH: 100px" noWrap width="100">Nationaliteit:</td> 
                    <td width="100"><telerik:RadComboBox ID="cboNationaliteit" Runat="server" > 
                        </telerik:RadComboBox> 
                        </td> 
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" style="WIDTH: 100px" width="100">Geslacht:</td> 
                    <td width="100"><telerik:RadComboBox ID="cboGeslacht" Runat="server" Width="82px"
                        </telerik:RadComboBox></td
                    <td class="form-label" style="WIDTH: 108px" noWrap width="108">Burgerlijke staat:</td> 
                    <td width="200"><telerik:RadComboBox ID="cboBurgelijkestaat" Runat="server" > 
                        </telerik:RadComboBox> 
                        </td> 
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Sofinummer:</td> 
                    <td width="90"><asp:textbox id="txtSofinummer" Width="90" MaxLength="9" runat="server" CssClass="pers-textbox" 
                            ></asp:textbox></td
                    <td class="form-label" width="160">Rekeningnummer:</td> 
                    <td width="100"><asp:textbox id="txtRekening" Width="100" MaxLength="10" runat="server" CssClass="pers-textbox" 
                            ></asp:textbox></td
                </tr> 
            </table> 
            <table class="tblMain-form" cellspacing="2" cellPadding="0" border="0"
                <tr> 
                    <td class="form-label" width="100">Legitimatie:</td> 
                    <td width="120"><telerik:RadComboBox ID="cboLegitimatie" Runat="server"  
                            Width="130px"
                        </telerik:RadComboBox></td
                    <td class="form-label" width="130">Nummer:</td> 
                    <td width="100"><asp:textbox id="txtLegitimatieNummer" Width="100" MaxLength="10" runat="server" CssClass="pers-textbox"></asp:textbox></td
                </tr> 
            </table> 
<table> 
                        <tr> 
                            <td align="left" colspan="2"
                                <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Toevoegen" : "Opslaan" %>' 
                                    runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' 
                                    CausesValidation="true" ValidationGroup="submit"></asp:Button>&nbsp; 
                                <asp:Button ID="btnCancel" Text="Annuleer" runat="server" CausesValidation="False" 
                                    CommandName="Cancel"></asp:Button> 
                            </td> 
                        </tr> 
                    </table> 
                     
                </FormTemplate> 
            </EditFormSettings> 
        </MasterTableView> 
        <ClientSettings> 
            <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="50px" /> 
        </ClientSettings> 
    </telerik:RadGrid> 
</div> 

Yavor
Telerik team
 answered on 01 Oct 2009
1 answer
149 views
I have a tabstrip with 3 multipage view. Each pageview has a grid on it. I am requesting data each time an user visits the tab for these grids.

Here is my issue:

First time when I visit a tab I get data for that particular grid only. It works. If I click on another tab I am getting data for both the first tab as well as the second tab I have visited. If I visit the 3rd tab I am getting data for all the 3 grids in the response. However the WCF service which feeds the data to these grid is only called for the grid/tab the user has just clicked.

Why is this behaviour this is using tremendous bandwidth and we are using Barracuda firewall and it is blocking these pages as th length of the POST is exceeded.

Please advise.

Thanks
Paul
Telerik team
 answered on 01 Oct 2009
3 answers
135 views
Hello,

can you send me an code-example for a  vb.net based web-service, like ProductCategories.cs?

Best regards.

Christian
Paul
Telerik team
 answered on 01 Oct 2009
1 answer
102 views
Hi,

I have boolean(bit)  field in my table. I want show check box to that boolean filed. HOw can i show check box for boolean filed without using template column?

lakmal
Shinu
Top achievements
Rank 2
 answered on 01 Oct 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?