Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
Hi, i'm trying to use the ItemCommand to insert records in a Radgrid but when I press Add Record the grid disapears.

Is there a property that i I'm missing to set it correctly?
Pavlina
Telerik team
 answered on 25 May 2011
2 answers
241 views
I am using a combo to perform a "contains" search on titles of publications.

There are cases where I do not want to have the user select a single publication.

I would like to just accept what they type in for a partial match, and then have a button that sets a SQL select to match all titles in the current combo entry.

I tested by entering three characters, but on the code-behind I don't know how to retrieve what was entered, as there is nothing "selected".

How do I grab that entry, preferably without any complicated client-side coding.
..............
The combo is bound to a SQL datasource and has automatic load on demand enabled.

Per the online help pages, I think "the control cannot be validated by value out of the box..." is relevant, but I cannot quite understand the client logic, as it pertains to getting beyond "out of the box..." on the server.

RadComboBox can be easily validated against the Text of its items. This is by design. 
  
The control cannot be validated by value out of the box. The combobox is a composite control, its input area being essentially a <input type"text" ...> DOM element. The .value property of this DOM element corresponds to the actual text being written inside the textbox. This is 
Tomica
Top achievements
Rank 2
 answered on 25 May 2011
1 answer
190 views
Hi,
  i have build the menu using panel item. i have to hide the Expand/Collpse button of panel item,
 please find the attachment for image.

Thanks,
Nagarajan

Helen
Telerik team
 answered on 25 May 2011
6 answers
124 views
Hi all,

We have just started using the Telerik controls and I have a quick question on how to set the minHeight on the RadMultiPage control. I have it linked to my tab strip and as the user navigates from tab to tab, it load a new page (using the ContentUrl) into the corresponding RadPageView. I would like to set the minHeight of the RadMultiPage control to a given value, but I can't seem to figure out how to do this. Does anyone have any ideas how this could be accomplished?

Thanks,
J. E.
Helen
Telerik team
 answered on 25 May 2011
1 answer
131 views
Hi,

I have the async upload working in grids, with saving to disk, sql or Azure. Everything works great.

 When I upload to Azure though, it seems the progress bar is for the progress of the temp file going to server, then it takes the same amount of time with the blinking yellow light, to complete the upload to Azure.

Is this normal? Or can I bypass the temp file going to the web server and go straight to Azure ?

Thanks
Eric

<telerik:RadAsyncUpload  runat="server" ID="RadAsyncUpload1"  
                       OnClientFilesUploaded="filesUploaded" HttpHandlerUrl="~/AzureHandler.ashx"
         MultipleFileSelection="Automatic" Width="300px">
             
   </telerik:RadAsyncUpload>
public class AzureHandler : AsyncUploadHandler, System.Web.SessionState.IRequiresSessionState
   {
       protected override IAsyncUploadResult Process(UploadedFile file, HttpContext context, IAsyncUploadConfiguration configuration, string tempFileName)
       {
          SampleAsyncUploadResult result = CreateDefaultUploadResult<SampleAsyncUploadResult>(file);
          SampleAsyncUploadConfiguration sampleConfiguration = configuration as SampleAsyncUploadConfiguration;
           string container = null;
           if (sampleConfiguration != null)
           {
               container = sampleConfiguration.ContainerName;
               result.ImageID = InsertImage(file, container, sampleConfiguration.MetaTags);
           }
           // Populate any additional fields into the upload result.
           // The upload result is available both on the client and on the server
             
           return result;
       }
       public int InsertImage(UploadedFile file, string containerName, string metaTags)
       {
           AzureAcess.UploadToCloud(containerName, file, metaTags);
           return 0;
       }
   }
Peter Filipov
Telerik team
 answered on 25 May 2011
4 answers
228 views
Hi,

I am working in a tabbed layout, where i am facing an issue with the PageView border top and TabStrip intersecting area, The PageView border top is displaying under the selected tab too, I need to hide this border displaying under selected tab, I find this issue only in Internet Explorer lower version like 6,7.

I find this issue in the telerik demo's too, please find the screenshot attached, and let me know the solution as soon as possible.

Thanks & Regards,
Giri
jamie rushad
Top achievements
Rank 1
 answered on 25 May 2011
1 answer
36 views
i just upgraded our main project to the latest version (the one from 5.19 in case a new one comes out in the next few days) of the asp.net ajax controls.  We also upgraded to Visual Studio 2010 and windows7 64bit development machines.  Everything seems to be working fine except on one page we have rad grid commands set to open rad windows via javascript.  We've opened radwindows that way in other places on the site and everything works fine, but when we use them from the grid(which is using the needDataSource event) we get 3 commands then the entire page stops responding.  if i click the edit button(which opens a rad window) and close the window after the 3rd time no button on the page will work.  but IE 8 still runs fine and nothing seems to be taking a large amount of memory or processor time. 

I thought it might be due to a problem with my machine, but i copied it out to our dev server which is windows 2003 and IIS6 and it has the same problem.  Currently the windows call a function to rebind the grid on close, i've tried removing it but it had no effect.  Any suggestions would be welcome, i havent seen anything in the change log that looks like it cause something like this but i may have missed a version.  I can try to post some code snipets if necessary, but i dobut i'll be able to post the page in its entirety.
John
Top achievements
Rank 1
 answered on 25 May 2011
5 answers
202 views
Hi,
I am using 2009.3.1103.20 version of Telerik Controls, Visual studio 2008.

My problem is that with one of my webpage, RadAjaxLoadingPanel is not getting displayed with RadGrid. On rest of the pages its displayed perfect when its rendering or while paging.

This is my ASP.Net Website. I have a Master page also where I have RadAjaxManager, RadScriptManager and RadStyleSheetManager. All of my webpages have master page defined as this master page.

Now on one of my webpage where I have Telerik:RadGrid, I implemented this RadAjaxLoadingPanel and its getting displayed correctly when I click on any page number. Now on my second page there is some problem where LoadingPanel is not getting displayed.
Some more details, on this page, I have so many different RadControls like I have RadCombo, RadWindow, RadWindowManager, RadToolBar, RadTabStrip, RadMultiPage, RadGrid, RadUpload, RadNumericTextBox etc. This is kind of big form. Now I have RadGrid on this page where I want to display loadingpanel when its rendering or refreshing or doing something.
I applied the same code which is working on other page but somehow loadingpanel is never getting displayed on this grid.
So can you tell me what's wrong in here as the same loadingpanel is working on other page, the only difference between these two page is that the page where its working does not have too many controls like this page.
Here is the simple Code I am trying.

    <telerik:RadAjaxManagerProxy runat="server" ID="AjaxManagerProxy1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGridAllRequests">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAllRequests" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="0"
        Skin="WebBlue" MinDisplayTime="1000" EnableAjaxSkinRendering="true" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGridAllRequests">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAllRequests" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
  
  
  
<asp:Panel runat="server" ID="pnlProductDetails">
  
  
<telerik:RadComboBox runat="server"
ID="DdlSelectOption" AutoPostBack="true" Width="600px" ToolTip="Select any option here to view Spending Requests history with different status"
Skin="Hay" Font-Bold="true" CausesValidation="false" ValidationGroup="none" 
OnSelectedIndexChanged="DdlSelectOption_SelectedIndexChanged">
</telerik:RadComboBox>
  
<div class="Scrollgrid" style="width: 1030px; height: 350px;">
  
<telerik:RadGrid ID="RadGridAllRequests" runat="server" AllowPaging="true" AllowSorting="true"
AllowFilteringByColumn="true" AutoGenerateColumns="False" BorderStyle="None"
GridLines="Both" OnNeedDataSource="RadGridAllRequests_needdatasource" OnItemDataBound="RadGridAllRequests_ItemDataBound"
OnItemCreated="RadGridAllRequests_ItemCreated" OnItemCommand="RadGridAllRequests_ItemCommand"
AllowMultiRowSelection="true" SelectedItemStyle-CssClass="SelectedItem" Width="100%"
Skin="WebBlue">
  
  
</telerik:RadGrid>
</div>
</asp:Panel>

Please suggest me for this.
Thanks in advance,


Tsvetina
Telerik team
 answered on 25 May 2011
1 answer
106 views
Hi,

I am displaying couple of images inside the RadRotator. The RotatorType is Carousel. I want to set the image focus when the user mouseover any image inside the RadRotator. The OnClientMouseOver method works only when I mouseover any other control in my page and then mouseover the RadRotator Item (which in this case is an Image). 

How do I fix this problem? I want the ability to set the currentItemIndex as soon as the I mouseover any item(s) within the RadRotator.

Thanks for your help.

Keyur

Niko
Telerik team
 answered on 25 May 2011
1 answer
111 views
Hi,

Am using the Radcontrols in the Asp .Net web application. In the login page i have Rad text boxes to accept the Login ID and Password. I have deployed the application in the 2008 windows server, ASP .Net 4.0 framework,
The RAD controls are not getting recognized and it resambles as a regular text box. and more over when entring the login id and the password and submitting, the values from the texboxes are considered and empty value is been passed to the server.
also getting the following script error

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 25 May 2011 14:09:07 UTC

Message: 'Sys' is undefined
Line: 70
Char: 1
Code: 0
URI:
http://localhost:8080/PRWeb/

Message: Object expected
Line: 201
Char: 9
Code: 0
URI:
http://localhost:8080/PRWeb/


also attaching the image, Pls. help me to resolve the issue.

Thanks
Jidesh
Jidesh Guptha
Top achievements
Rank 1
 answered on 25 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?