Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views

I have a RadSplitter with two Pane and one SplitBar. On one Pane I have a dropdownlist, which when selected should change a textbox visibility to true. However it is completely clearing both RadPanes and not displaying anything.

 

Here is the code:

<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
                <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%">
                    <telerik:RadPane ID="LeftPane" runat="server" Width="75%">
                        <h3>Orders</h3>
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Backward">
                    </telerik:RadSplitBar>
                    <telerik:RadPane ID="RightPane" runat="server" Width="25%">
                        <div style="padding-left:10px; padding-right:10px;padding-top:5px;">
                            <h4>Filters</h4>
                            <hr style="width:100%;" />
                            <table>
                                <tr>
                                    <td><asp:Label ID="lblCustomer" runat="server" Text="Customer #"></asp:Label></td>
                                    <td><telerik:RadDropDownList ID="ddlCustomer" runat="server" AutoPostBack="true" DefaultMessage="Select One.." OnItemSelected="ddlCustomer_ItemSelected"></telerik:RadDropDownList></td>
                                    <td><telerik:RadTextBox ID="txtCust" runat="server" AutoPostBack="true" Visible="false"></telerik:RadTextBox></td>
                                </tr>
                            </table>
                        </div>
                     
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadAjaxPanel>

 

 

 

protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ddlCustomer.DataSource = new List<string>() { "Cust1", "Cust2" };
                ddlCustomer.DataBind();
            }
        }
 
        protected void ddlCustomer_ItemSelected(object sender, Telerik.Web.UI.DropDownListEventArgs e)
        {
            if (ddlCustomer.SelectedItem != null)
                txtCust.Visible = true;
        }

 

Am I missing something?

Erick
Top achievements
Rank 1
 answered on 26 Jun 2015
3 answers
127 views

Based upon a user's selection of a dropdownlist item (which is on the page, but is not part of the grid), I need to alter the text of a GridColumnGroup in a batch mode grid.  Essentially, the user's selection is used to determine what fields are used in a calculation.  I need to alter the GridColumnGroup text so that it reflects their choice.  I would prefer to do this using client-side code.    At this point, have what I need to dynamically perform the calculations, but I haven't found an example showing how to update the GridColumnGroup text value.

Thanks.

Mike
Top achievements
Rank 1
 answered on 26 Jun 2015
1 answer
97 views

Hello to all guru's reading this note of mine.

I'm using a Web ASP.NET page with a RadAsyncUpload control, and its job is well done.

However, each time I go to the selection task (better said, users go...), the same files (plus new ones) are shown here to be uploaded, and this drives the operator a little confused.

Is it possible to have these files deleted from the original directory once uploaded?

 

Thank you so much in advance. Have a nice day.

 

Saverio Tedeschi

Hristo Valyavicharski
Telerik team
 answered on 26 Jun 2015
3 answers
285 views
Hi,

Is it possible to embed images you upload in the editor content instead of just the link? (either base64 or binary).

Thanks.
Marin Bratanov
Telerik team
 answered on 26 Jun 2015
3 answers
372 views

From the console I get this error when using the radmenu onitemclick: Sys.WebForms.PageRequestManagerServerErrorException, ... "PRM_UnknownToken":"Unknown token: \u0027{0}\u0027.","PRM_MissingPanel":"Could not find UpdatePanel with ID \u0027{0}\u0027.  While the controls to appear and seem to work they do not call my onitemclick event and instead generate the error.

The code works fine when running from the developer or IIS manager.  I noticed IIS added the app pool name to the path so using http://localhost:86/SR05C works but not just using the web reference without specifying the pool, ie localhost:86 brings up the site and the controls but the code behind the Telerik controls do not..  Same problem when I tried to deploy to a godaddy server.  I tried without AJAX with the same result.

Ivan Danchev
Telerik team
 answered on 26 Jun 2015
1 answer
116 views

When I right click on a file, the context menu shows up further below the click. I can't figure out why this is happening. Does anyone know why this is happening?

Ivan Danchev
Telerik team
 answered on 26 Jun 2015
4 answers
164 views
How can I disable the user from manually entering values with the keyboard? Selections should only come from the pop-up values. I tried setting the DateInput.ReadOnly to True but that disabled the popup as well. 
Viktor Tachev
Telerik team
 answered on 26 Jun 2015
0 answers
970 views

With the latest 2015.2.623 version of Telerik.Web.UI you could receive the following error:
System.ArgumentNullException: Value cannot be null.
Parameter name: key

if you have grid with paging enabled and you run the page in Visual Studio Page Inspector. In order to workaround this issue you need to add the code snippet below in the web config file.

<appSettings>
    <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
  </appSettings>
<compilation debug="true" targetFramework="4.0" >
      <assemblies>
        <remove assembly="Microsoft.VisualStudio.Web.PageInspector.Loader,
               Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </assemblies>
    </compilation>


This problem is already fixed and the fix will be included in the next internal build and upcoming SP1.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 26 Jun 2015
5 answers
235 views

Dear All,

We have been using telerik controls in various projects.  Currently we have
encountered an issue with the RadUpload control.

The issue is how the RadUpload control reads and saves the file data in the
database.

We have uploaded a word document with both .doc and .docx extension.

It saves the file in the database. When we do a free text search in the SQL server
it only searches a word document with .doc extension.

It does not search the word document with .docx extension.

See the below SQL script we have used to search for the data in the file:

Select * from tblDocuments
where 
FREETEXT(tblDocuments.FileData, 'words to search')

It searches the FileData column in the tblDocuments table

The datatype of FileData column is varbinary(MAX)

if we upload a .docx via the file system (save to disk and then upload from disk to database)

the freetext search searches the .docx file. But if we use RadUpload control it does not search the .docx file. 

It could be the way the RadUpload control creates a stream object to read the filedata.

Could you please look into this issue?

Please let us know if you need any more information with regards to this issue.

 

Thanks.

Peter Filipov
Telerik team
 answered on 26 Jun 2015
3 answers
116 views

I have a problem where some mobile devices (ipad and android) closes the menu when focusing on a textbox inside an template. The scenario can be seen below on the Login tab.

http://www.mrplant.se

On desktop browsers it seems to be working as intended.

Christian
Top achievements
Rank 1
 answered on 26 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?