Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
112 views
Hi,

How would I keep track of Action Trails in RADEditor control. I need to display a comparison form of edits, additions and deletes of the content. How can this be achieved with RADEditor?

Thanks in advance for your help.
Dobromir
Telerik team
 answered on 28 Apr 2011
1 answer
169 views

hi

Each file within the bin directory are for what?

Telerik.Web.Design.dll

Telerik.Web.UI.dll

Telerik.Web.UI.xml

and which file or files are needed for my uploaded web site?

Sebastian
Telerik team
 answered on 28 Apr 2011
1 answer
157 views
I have a RadGrid set as the AjaxUpdatedControl in the RadAjaxManager so that the filtering happens using ajax. There is a select command column with a select button that when it's clicked i want it to post back so that i can set a bunch of values for other controls on the page. Right now when the select button is clicked and I debug (step through in VS) on the server-side it looks like the controls are being set but the page isn't actually updated. I think this is because the select button is using a callback instead of postback.

Is there a way i can make the select button in the column cause a post back but still have the filtering use ajax?

in case it helps here's the code below.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableViewState="true" OnCommand="Ajax_Command">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="AccountGrid">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="AccountGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadGrid ID="AccountGrid" runat="server" DataSourceID="AccountSqlDataSource" OnItemCommand="AccountGrid_ItemCommand"
    AutoGenerateColumns="false" AllowFilteringByColumn="True" AllowSorting="true" AllowPaging="True" PageSize="15" ShowFooter="True">
    <GroupingSettings CaseSensitive="false" />
    <MasterTableView>
        <Columns>
            <telerik:GridButtonColumn Text="Select" CommandName="Select" UniqueName="SelectColumn" ButtonType="LinkButton" AutoPostBackOnFilter="true"></telerik:GridButtonColumn>
            <telerik:GridNumericColumn  
                DataField="AccountID" UniqueName="AccountNumberColumn" HeaderText="Account #"
                FilterDelay="1000" AutoPostBackOnFilter="true" FilterControlWidth="60" ShowFilterIcon="false">
         </Columns>
    </MasterTableView>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 28 Apr 2011
3 answers
554 views
hi there...
can someone help me? am trying to find a way to hide one whole row  data field from a radgrid of aspecific Id inside  C#  programming code?

I don't want the user to see the row once he click on (delete) button , but in real the data still there in the database but the (active) field has been updated to = 0....

thanx..
Shinu
Top achievements
Rank 2
 answered on 28 Apr 2011
2 answers
59 views
Hi,

please find below url
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/webmail/defaultcs.aspx

I am able to select multiple rows by selecting check box. But if i click on any row of the gird, that row will be selected and previously selected rows are unselected automatically.

Is their any way to prevent this, if user clicks on any row accidentally, his complete efforts ( already selected rows) will becomes waste.

Thanks,
Sumanth 
Sumanth
Top achievements
Rank 1
 answered on 28 Apr 2011
1 answer
54 views
I have a treeview (see attach file )
I want to save four nodes like circle.
I only save success node: Community. I cann't save three nodes: Development, Product, Operation.
Here is code to save:
List<RadTreeNode> checkedNodes = this.trvHierarchy.CheckedNodes.ToList<RadTreeNode>();
                 
List<string> lstJobNode = new List<string>();
 foreach (RadTreeNode node in checkedNodes)
 {
       if (string.IsNullOrEmpty(node.Value) == false
       && node.CheckState == TreeNodeCheckState.Checked)
        {
                 RadTreeNode parentNode = node.ParentNode;
//Only save parent. Don not save child if parent is checked.
                 if (parentNode == null || parentNode.CheckState != TreeNodeCheckState.Checked)
                                lstJobNode.Add(node.Value);
        }
}
Kate
Telerik team
 answered on 28 Apr 2011
8 answers
192 views
Hi there,

I am trying the SPRadListView Web part. I can bind a SP List without problems but for some reason I can't create a detail binding. I have the "+" button always gray out so I can't bind a child list.

What is the condition for enabling the button?



Marin
Telerik team
 answered on 28 Apr 2011
1 answer
95 views
I have a database fields that stores RTF strings. How do I bind it to a GridHTMLEditorColumn in RadGrid?

When I tried binding it directly, it shows RTF tags like "{rtf\..."

Thanks!
Daniel
Telerik team
 answered on 28 Apr 2011
2 answers
92 views
I just upgraded to Q1 2011 SP1 from Q1 2011 and found that my RadMaskedTextboxes for phone numbers, SSNs, etc. won't initially show their value when a page loads.  These are fields that are bound in a form view.  When you put the form view into edit mode, the values aren't visible until you click into and then out of the field.

I know the values are there because you can re-save and the data still is present.  It seems to be some kind of initialization issue or something where once the page is fully loaded, the values disappear.

Has anybody else noticed or seen this?
Martin
Telerik team
 answered on 28 Apr 2011
1 answer
110 views
I have an ASP.NET page that pops up a RadWindow with 3 small fields in it.  The user adds data, clicks save and once the data is saved, the window should close.  The Save is working, but if I try to say:

RadWindowManager1.Windows[0].Visible=False;

I get a javascript error:  Microsoft JScript runtime error: 'undefined' is null or not an object

I'm sure it's some type of timing issue with the postback/RadWindow, but I'm not sure how to fix it.  Below is my HTML for the RadWindow and a small portion of the code behind.

Thanks

mark

<telerik:RadWindowManager ID="RadWindowManager1" Behaviors="Close" 
runat="server"><BR>                                    
<Windows><BR>                                        
<telerik:RadWindow ID="radWinAddCredit" 
OpenerElementID="btnAddCreditForTalent" 
runat="server"<BR>                                            
Modal="true" AutoSize="true" Title="Add/Edit Credit" 
VisibleStatusbar="false"<BR>                                            
VisibleOnPageLoad="False" Skin="WebBlue" Height="300px" 
ShowContentDuringLoad="False"<BR>                                            
Width="375px" 
Behaviors="Close"><BR>                                            
<ContentTemplate><BR>                                                
<table class="form" 
width="100%"><BR>                                                    
<tr><BR>                                                        
<td class="formLabel-RightAlign" 
align="left"><BR>                                                            
Craft<BR>                                                        
</td><BR>                                                        
<td><BR>                                                            
<telerik:RadComboBox ID="cboCrafts" Skin="WebBlue" Width="205px" 
ZIndex="5000" 
MarkFirstMatch="true"<BR>                                                                
EmptyMessage="Type to Select..." 
runat="server"><BR>                                                            
</telerik:RadComboBox><BR>                                                            
<asp:RequiredFieldValidator ID="valCreditCrafts" 
ControlToValidate="cboCrafts" 
runat="server"<BR>                                                                
ErrorMessage="Required" InitialValue="Type to Select..." 
ValidationGroup="CreditGroup"></asp:RequiredFieldValidator><BR>                                                        
</td><BR>                                                    
</tr><BR>                                                    
<tr><BR>                                                        
<td 
class="formLabel-RightAlign"><BR>                                                            
Title<BR>                                                        
</td><BR>                                                        
<td><BR>                                                            
<telerik:RadComboBox ID="cboShowTitles" Skin="WebBlue" ZIndex="5000" 
Width="205px"<BR>                                                                
EnableAutomaticLoadOnDemand="true" EmptyMessage="Type to Search..." 
MarkFirstMatch="true"<BR>                                                                
runat="server" EnableLoadOnDemand="True" 
ItemsPerRequest="100"><BR>                                                                
<WebServiceSettings Method="GetShowTitles" 
Path="../Admin/Controls/AdminService.asmx" 
/><BR>                                                            
</telerik:RadComboBox><BR>                                                            
<asp:RequiredFieldValidator ID="valCreditShows" 
ControlToValidate="cboShowTitles"<BR>                                                                
runat="server" ErrorMessage="Required" InitialValue="Type to Search..." 
ValidationGroup="CreditGroup"></asp:RequiredFieldValidator><BR>                                                        
</td><BR>                                                    
</tr><BR>                                                    
<tr><BR>                                                        
<td 
class="formLabel-RightAlign"><BR>                                                            
Comment<BR>                                                        
</td><BR>                                                        
<td><BR>                                                            
<asp:TextBox ID="txtCreditComment" CssClass="textFields" runat="server" 
Width="200px"></asp:TextBox><BR>                                                        
</td><BR>                                                    
</tr><BR>                                                    
<tr><BR>                                                        
<td align="right" 
colspan="2"><BR>                                                            
<telerik:RadButton ID="btnSaveCredit" Skin="WebBlue" runat="server" 
Text="Save" 
ValidationGroup="CreditGroup"<BR>                                                                
OnClick="btnSaveCredit_Click"><BR>                                                            
</telerik:RadButton><BR>                                                        
</td><BR>                                                    
</tr><BR>                                                
</table><BR>                                            
</ContentTemplate><BR>                                        
</telerik:RadWindow><BR>                                    
</Windows><BR>                                
</telerik:RadWindowManager>

Partial code behind for btnSave_Click method...

<P> if (isUpdate)<BR> {<BR>        
talentCredit.UpdateTalentCredit(credit);<BR> }<BR> else<BR> {<BR>                        <BR>        
talentCredit.CreateTalentCredit(credit);</P>
<P> }<BR> SiteMaster masterPage = 
(SiteMaster)Page.Master;<BR> masterPage.SetAlertMessage("Credit has been 
Saved.", "green");</P>
<P> loadCredits(talentId);<BR> radgridCredits.DataBind();</P>
<P> <BR> RadWindow rw = 
RadWindowManager1.Windows[0];<BR>{<BR>      
rw.Visible=false;<BR>}<BR></P>

NOTE:  This code is in a Try/Catch and DOES NOT error out there.  It just errors out in VS2010 with the Javascript Error listed above after RadWindow.Visible=false gets called.

Marin Bratanov
Telerik team
 answered on 28 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?