Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
Hi,

How can I show context menu on gridbutton click? somebody please help.

Thanks
Allen
Princy
Top achievements
Rank 2
 answered on 29 Nov 2013
9 answers
168 views
Hi,

HeaderContextMenu OnItemClick event is not firing? 

Any help on this?

Best Regards,
Satz
Eyup
Telerik team
 answered on 29 Nov 2013
1 answer
97 views
We currently use the RadFilterSqlQueryProvider to get a string representation of the filter control: 
var provider = new RadFilterSqlQueryProvider();
provider.ProcessGroup(e.ExpressionRoot);
var expression = provider.Result;

We store this string in the database to be used elsewhere. We also save the Base64 result from the SaveSettings() method to re-populate the control.

Is it possible to populate the filter from the sql string rather than the Base64 string? We'd like to avoid having two version of the filter expression saved. Can we somehow convert that string to the Base64 format the RadFilter control expects?
Antonio Stoilkov
Telerik team
 answered on 29 Nov 2013
18 answers
916 views
Hi. I have a very straight-forward question. I know how to upload files in other languages, but I am a little confused by Telerik components sometimes. My question:

How do I:
  • Upload a file (no problem here, I can do this)
  • Rename the file
  • Grab the filename after the file successfully uploads (on postback)

I need to tie this together with a database, and I'm a little confused on how to do that. I DO NOT want to store the file IN the database. I just need the filename. Aside from that, I'm golden.

Plz help quick. I have two projects where I need to do this both happening at the same time.

Cool uploader, by the way. Very easy to work with so far.

Ramkumar
Top achievements
Rank 1
 answered on 29 Nov 2013
3 answers
263 views
Hi friends am using radnumeric Textbox control in my Application.
Here am facing the Problem is when I logging in as Dutch Culture.
Becoz it is considering "." as "," and vice versa.

For Example :

I am giving input as [ 2.25 in US] for this 
                  in dutch am giving as 2,25 when am selecting / submitting it is going as 225 in Database.
where am doing mistake, kindly help me.

Please find attachment of File one and two..
file 01 contains actual value and when I click mouse inside textbox changes. refer second image
Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
11 answers
426 views
hi, i am more and more getting in love testing your product and i am thinking seriously to move all my work in the future to depend on your control .
i am having this scenario
i want to have a gird with articles dta source where the article db will have an image
now what i want to know how to do is
- how can i save the name of the uploaded image in the image field in DB
- if the user uploads a file that don't have the same name of the one already in DB how can i delete that and upload the new file and update the Image DB filed name with it ?
thx in advanced.

Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
10 answers
350 views
when sorting a column in descending order in the telerik grid, the grid display scrolls the far left, forcing the user to scroll back to the right to view the column that was sorted on. This does not happen when sorting a column in ascending order and its happening in chrome browser only.

Please suggest me to fix the issue
Konstantin Dikov
Telerik team
 answered on 29 Nov 2013
1 answer
226 views
Hi,

I want to read GridBoundColumn value inside radgrid update command ..

how to acces bound column inside rad grid update commmand event.


Thanks
Princy
Top achievements
Rank 2
 answered on 29 Nov 2013
3 answers
138 views
Hi,
how can i do increase Textbox width and validation in automatic editmode alongwith i am using custom template mode for insert
previously i used like this but its not working now
i have also attached image ,look it for reference

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
   {
       if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
       {
           //-------------Find TextBox In EditMode And Apply Css To Them------------
           //GridEditableItem edititem = (GridEditableItem)e.Item;
           //TextBox TxtEntityName = (TextBox)edititem["EntityName"].Controls[0];
           //TextBox TxtEntityType = (TextBox)edititem["EntityType"].Controls[0];
           //TextBox TxtEntityPath = (TextBox)edititem["EntityPath"].Controls[0];
           //TextBox TxtDescription = (TextBox)edititem["Description"].Controls[0];
           //TextBox TxtFileName = (TextBox)edititem["FileName"].Controls[0];
           //TxtEntityName.CssClass = "riEditFormTextBox";
           //TxtEntityType.CssClass = "riEditFormTextBox";
           //TxtEntityPath.CssClass = "riEditFormTextBox";
           //TxtDescription.CssClass = "riEditFormTextBox";
           //TxtFileName.CssClass = "riEditFormTextBox";
       }
 
           //Validations For Textbox In Insert And Edit Mode
       if ((e.Item is GridEditableItem && e.Item.IsInEditMode) || (e.Item is GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted))
       {
           GridEditableItem item = e.Item as GridEditableItem;
           GridTextBoxColumnEditor editor = (GridTextBoxColumnEditor)item.EditManager.GetColumnEditor("EntityName");
           TableCell cell = (TableCell)editor.TextBoxControl.Parent;
           RequiredFieldValidator validator = new RequiredFieldValidator();
           validator.ControlToValidate = editor.TextBoxControl.ID;
           validator.ErrorMessage = " * Required";
           validator.Font.Bold = true;
           cell.Controls.Add(validator);
       }
Thanks
Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
3 answers
263 views
Hi telerik, 
I have a problem using the RadAjaxManager Control, I'm trying to load a combobox depending on the selected item in another combobox in a webform, but for do that the autopostback of the combobox has to be in true mode, so i add a RadAjaxManager so I would not reload the whole page, but it doesn't work.

I want to load the combobox cmbCuenta depending on the selected item in cmbBanco without reload the whole page. Thanks, for your help.

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="cmbBanco">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cmbCuenta" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="cmbCuenta">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cmbChequera" />
                        <telerik:AjaxUpdatedControl ControlID="cmbMoneda" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="cmbTipoCuentaC">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cmbCuentaContable" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager> 

 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Office2010Silver">
            <div class="loading">
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Imagenes/loading1.gif" AlternateText="loading"></asp:Image>
            </div>
        </telerik:RadAjaxLoadingPanel>  


<table align="center" style="width: 98%">
                <tr>
                    <td class="auto-style4">
                        Banco:
                    </td>
                    <td colspan="2" class="auto-style4">
                        <telerik:RadComboBox ID="cmbBanco" runat="server" AutoPostBack="true" DataSourceID="SqlDataBanco" DataTextField="Nombre" DataValueField="IdBanco" EmptyMessage="Seleccione un Banco" OnSelectedIndexChanged="cmbBanco_SelectedIndexChanged">
                        </telerik:RadComboBox>
                    </td>
                </tr>
                <tr>
                    <td style="vertical-align: top; width: 20%" align="left" class="auto-style5">
                        <asp:Label ID="lblCuenta" runat="server" Text="Cuenta:"></asp:Label>
                    </td>
                    <td style="vertical-align: top; width: 30%" align="left">
                        <telerik:RadComboBox ID="cmbCuenta" Runat="server" Width="211px" AutoPostBack="true" OnSelectedIndexChanged="cmbCuenta_SelectedIndexChanged" EmptyMessage="Seleccione una Cuenta Bancaria">
                        </telerik:RadComboBox>
                    </td>
                    <td style="vertical-align: top; width: 20%" align="left" class="auto-style3">
                        <asp:Label ID="lblFecha" runat="server" Text="Fecha de emisión:"></asp:Label>
                    </td>
                    <td style="vertical-align: top; width: 30%" align="left" class="auto-style4">
                        <telerik:RadDatePicker ID="dttFechaEmision" runat="server">                            
                        </telerik:RadDatePicker>
                    </td>
                </tr>
            </table>
</asp:Content>
Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
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?