Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
228 views
Dear Telerik,
         I reviewed the help page and came to know the advantage of RadInputManager. I would like to know one information that whether it is possible to apply RadInputManager to all type of validator controls like required,compared etc ?. I have the below kind of validator code in my application;
<asp:textbox id="txtWidth" tabIndex="5" runat="server" title="(float)"  MaxLength="7" Columns="6"></asp:textbox><asp:requiredfieldvalidator id="rqux" Runat="server" Width="100%" InitialValue="" ErrorMessage=":: Required 'Width' missing or invalid." 
                                                    Display="Dynamic" ControlToValidate="txtWidth">&nbsp;<span class="warning">*</span></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="rgux" Runat="server" Width="100%" ErrorMessage=":: Required 'Width' invalid (format: '0-9999.99')." 
                                                    Display="Static" ControlToValidate="txtWidth" ValidationExpression="^\d{1,4}(\.\d{1,2})?$">&nbsp;*</asp:regularexpressionvalidator> 
So how can we apply the above code with RadInputManager;

I also would like to know, if i am having 10 text boxes and two dropdowns in my EditFormTemplate. Is there any possibility to apply RadInputManger with dropdown? and also can we use one RadInputManager settings to all textboxes in EditFormTemplate? as i demonstrated below;
<telerik:RadInputManager ID="RadInputManager1" runat="server" Skin="Office2007">  
                    <telerik:TextBoxSetting BehaviorID="TextBoxBehavior1" InitializeOnClient="false">  
                        <TargetControls> 
                            <telerik:TargetInput ControlID="txt1" /> 
                        </TargetControls> 
                        <TargetControls> 
                            <telerik:TargetInput ControlID="txt2" /> 
                        </TargetControls> 
                        <TargetControls> 
                            <telerik:TargetInput ControlID="txt3" /> 
                        </TargetControls> 
                    </telerik:TextBoxSetting> 

I came over all help topics related to RadInputManager, but no one gave adequate information related to above mentioned scenarios. So please do the favourable to know the ideas.

Regards,
Chandran
Maria Ilieva
Telerik team
 answered on 17 May 2010
3 answers
100 views
I have a grid that I am binding manually using the NeedsDataSource event, rather than using a DataSourceControl.

I am using EditMode="Popup", EditFormType="Template".

The template is working great for editing rows.

I am having trouble figuring out how to get the insert to work. When I click on the "Add New Record" link at the top of the grid, nothing is happening. It acts like it is making a callback, and the OnInsertCommand event is firing, but the popup does not open.

Is there a way to get this to work without using a DataSourceControl and Automatic Inserts?
Pavlina
Telerik team
 answered on 17 May 2010
1 answer
128 views
hi guys.
when i use teleric component and when form or code behinde has an error i see this page!!!
how i can fix it that see the error.non this page?
page pic when contain error : http://img.elemancity.ir/images/fvp6q3bklhjfrjgurkxj.jpg
tnx
fvp6q3bklhjfrjgurkxj.jpg
Kiara
Top achievements
Rank 1
 answered on 17 May 2010
12 answers
243 views

When we attempt to use the image picker on one of our blogs, we get an error message. This error message is specific to this blog only - the tools work fine on other blogs. (Even other blogs in the same site collection.) We've tried disabling and re-enabling the feature, with no luck. Any help would be greatly appreciated!

Here's the error message:

 

Server Error in '/' Application.

List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[COMException (0x81020026): List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.]
   Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +0
   Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +333

[SPException: List does not exist

The page you selected contains a list that does not exist.  It may have been deleted by another user.]
   Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) +447
   Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) +1228
   Microsoft.SharePoint.SPListCollection.EnsureListsData(String strListName) +131
   Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException) +565
   Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException) +138
   Microsoft.SharePoint.SPListCollection.get_Item(Guid uniqueID) +76
   Telerik.SharePoint.Editor.SPContentProvider.GetPermissions(Guid listId, SPWeb web) +54
   Telerik.SharePoint.Editor.SPContentProvider.CreateDirectoryItem(SPFolder folder) +168
   Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path) +36
   Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path) +10
   Telerik.Web.UI.RadFileExplorer.GetFolders(String virtualPath) +70
   Telerik.Web.UI.RadFileExplorer.PopulateTreeNode(RadTreeNode currNode) +172
   Telerik.Web.UI.RadFileExplorer.BindExplorer() +859
   Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e) +599
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

 

Stanimir
Telerik team
 answered on 17 May 2010
1 answer
149 views

Hi When I use the RadSessionPageStateCompression in the browser file I get the following

Exception type: FormatException

Exception message: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters.

at System.Convert.FromBase64String(String s)

at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)

at Telerik.Web.UI.RadSessionPageStatePersister.Load()

at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()

at System.Web.UI.Page.LoadAllState()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

If I use the  Telerik.Web.UI.RadHiddenFieldPageStateCompression then it works fine.

 

Pavel
Telerik team
 answered on 17 May 2010
12 answers
162 views
Hi,

I am using RadAjaxLoadingPanel.
Their is some design issue with LoadingPanel in firefox.
It is working fine in IE.
When i set LoadingPanel with Grid then it is loaded at the left side of grid rather then in centre.
When i set padding to make centre its position then it will affect in IE .
I also tried with property of Backgroundposition="centre" of RadAjaxLoadingPanel but that not have any affect.
Please help me ASAP.

Thanks in Advance
Regards
Jyoti Khurana
Basel Nimer
Top achievements
Rank 2
 answered on 17 May 2010
2 answers
113 views
Hi,

I'm using the 2010.1.415.35 rad grid and the filtering doesn't appear to work with a ToolkitScriptManager on the page. It adds a hash mark to the URL and does nothing. Try it yourself, just add a RadGrid, LinqDataSource and ToolkitScriptManager to the page.

It works fine with a RadScriptManager, however, when using a RadScriptManager, my ajax toolkit controls throw javascript errors such as:

Sys.Extended is undefined

(and)

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.

Is Telerik's ASP.NET AJAX not compatible with .NET Ajax Tooklit 3.0.31106.0 ?

Thanks,

-Derek
Nikolay Rusev
Telerik team
 answered on 17 May 2010
3 answers
150 views
hi all
 how to take row index in asp.ajax telerik grid
Yavor
Telerik team
 answered on 17 May 2010
1 answer
94 views
Hi

In IE7, While rendering the Treeview, expand icons getting over flow from the container and some time the expand icon shown over the node text .
Nikolay Tsenkov
Telerik team
 answered on 17 May 2010
4 answers
165 views
I have created some functionality that allows a user to re-order the children of a node in a treeview control. Here is how it works:
  • The user right-clicks a node to launch a context menu
  • The user selects "Reorder subordinates" from the context menu
  • A RadWindow launches a "dialog box" that contains and unordered list of the children of the clicked item. Each list item has a check box next to it. The user can select the children they want to re-order and use "Up" and "Down" buttons to move them up and down the list. When the user clicks "Commit Changes" button, a comma seperated list of the items, in their new order is returned to the parent page, which does an AJAX callback to the database and updates the order of the children.
  • On the client side (javascript), after the AJAX callback, the following code runs, and updates the parent node in the treeview:
    //get the treeview, and get the node
    treeview.trackChanges();
    node.collapse();
    node.get_nodes().clear();
    node.set_expandMode(Telerik.Web.UI.TreeNodeExpandMode.WebService);
    node.expand();
    treeview.commitChanges();

All these works without error (YEAH!) and the child nodes are re-loaded in the newly edited order. But, if I click the parent node that has just had its children re-ordered, the children suddenly revert back to their original order. They are not being reloaded from the database (the database now has them in the correct order so, they would re-load in the correct order anyway, if that were true). So, it seems like there is a legacy of the old order being stored in memory, and that is somehow being re-applied.

I tried putting a "treeview.commitChanges()" command directly after the line that clears the child nodes, and another "treeview.trackChanges()" command directly after that but, that had no effect.

How can I ensure that I have truly cleared the memory of the child nodes in the old order?

Thanks for any help you can provide.
Nikolay Tsenkov
Telerik team
 answered on 17 May 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?