Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
I installed the latest version of telerik editor on as of 8/7/08.
I installed the module on DNN 4.8.4.

Enabled Rad Editor as the Editor.

I don't see the file or image managers.

My web.config shows this
<add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" />

Do I need something additional?
Phil
Top achievements
Rank 2
 answered on 14 Aug 2008
1 answer
154 views
I have a RadGrid in a web user control.  In the grid I have a a link button.  When the link button is clicked, I capture the ItemCommand event and then want to bubble the event up to the parent page.  The problem I have is that the event will not bubble up because MyRowSelected is always null.  I've tried a few variations of  the code, but here is a snippet of the latest:

public partial class ObjectList : System.Web.UI.UserControl

{

public event EventHandler MyRowSelected;



protected

void rgList_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)

{

if (e.CommandName == "Select")

{

OnMyRowSelected(e);

}

}

protected void OnMyRowSelected(GridCommandEventArgs e)

{

if (MyRowSelected != null)

{

MyRowSelected(

this, e);

}

}
}

Paul Bishop
Top achievements
Rank 1
 answered on 14 Aug 2008
4 answers
219 views
Hello,

I am adding Tabs via client functions but I am not sure how to go about adding PageView to my MultiPage control so that I can also add content to the Tab. I could not find any samples, would appreciate any help and sample code.
function addTab() 
{    
    //Adds the tab to the Tabs Collection of the selected tab 
    var persistChanges = true
     
    var tabStrip = $find("<%= RadTabStrip1.ClientID %>"); 
    var selectedTab = tabStrip.get_selectedTab(); 
    var test = arguments[0]; 
    alert(test); 
     
    if (persistChanges) 
        tabStrip.trackChanges(); 
         
    var tab = new Telerik.Web.UI.RadTab(); 
    //selectedTab.get_tabs().add(tab); 
    tabStrip.get_tabs().add(tab);    
    //tab.set_text("Child Tab " + selectedTab.get_tabs().get_count()); 
     
    var pageView = new Telerik.Web.UI.PageView(); // DOES NOT WORK 
    var multiPage = $find("<%= RadMultiPage1.ClientID %>"); 
     
    if (persistChanges) 
        tabStrip.commitChanges(); 
     
    return false;       
mzn developer
Top achievements
Rank 1
 answered on 14 Aug 2008
1 answer
183 views

I have a grid with EditForm set as FormTemplate.

I am handling Update through ItemCommand.
During update if there is an error i want to keep the item in edit mode.
But i am not able to.

this is my code

if
(e.CommandName == "Update")

{

GridEditableItem editItem = (GridEditableItem)e.Item;

int recID = Int32.Parse(editItem.GetDataKeyValue("MTSWebSecurityLoginID").ToString());

userName = ((

TextBox)e.Item.FindControl("txtUserName")).Text;

initialPwd = ((

TextBox)e.Item.FindControl("txtInitialPwd")).Text;

usrPwd = ((

TextBox)e.Item.FindControl("txtUserpassword")).Text;

email = ((

TextBox)e.Item.FindControl("txtEmail")).Text;

masterAccountNumber = ((

TextBox)editItem.FindControl("txtMasterAcctNumber")).Text;

AddUpdateAffiliateLogin(recID);

if (errorMessage == "")

{

e.Item.Edit =

false;

}

else

{

Label lblStatus = (Label)e.Item.FindControl("lblStatus");

lblStatus.Visible =

true;

lblStatus.Text = errorMessage;

e.Item.Edit =

true;

}

}

maha
Top achievements
Rank 1
 answered on 14 Aug 2008
1 answer
102 views
I am using a user control for a custom edit form as in
http://www.telerik.com/help/aspnet-ajax/grdcustomeditforms.html

The grid has scrolling enabled.
The edit button is at the far right, so one has to scroll all the way to the right to click the edit button.

In edit mode, briefly the custom edit form is visible on the left side of the grid, but then the grid scrolls to the far right (where it was when I clicked the edit button), so the custom edit form is not visible.  The user would have to scroll to the left to see it.

How can I make the custom edit form visible when the grid enters edit mode?

John
John Davis
Top achievements
Rank 2
 answered on 14 Aug 2008
4 answers
103 views
Hi All,

I want to define a radgrid in a template inside another radgrid so when I click on the modalpopbutton it fires up the second datagrid inside the panel;

<radG:RadGrid ID="rgDep" runat="server" AutoGenerateColumns="False" GridLines="None" Skin="WebBlue" AllowSorting="True" EnableAJAX="True">  
                        <MasterTableView> 
                            <Columns> 
                                  <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Contact">  
                                      <ItemTemplate>                         
                                        <asp:LinkButton ID="btnShowDetails" runat="server" CausesValidation="false" Text='<%# Eval("Contact") %>'>  
                                        </asp:LinkButton>    
                                        <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" PopupControlID="pDepDetails" 
                                        OkControlID="btnOK" TargetControlID="btnShowDetails" BackgroundCssClass="modalBackground" DropShadow="true">  
                                        </cc1:ModalPopupExtender>                        
                                          <asp:Panel ID="pDepDetails" runat="server" BackColor="Beige" Font-Bold="True" style="display: none">  
                                              <asp:Label ID="lblDepID" runat="server" Text='<%# Eval("ContactID") %>'></asp:Label> 
                                              <br /> 
                                              <table> 
                                                  <tr> 
                                                      <td style="width: 100px">  
                                                          <img src="Images/a.gif" style="width: 25px; height: 18px" /><span style="font-size: 10pt"><strong>Aultman  
                                                              Hospital Phone Book</strong></span></td> 
                                                  </tr> 
                                                  <tr> 
                                                      <td style="width: 100px">  
                                              <radG:RadGrid ID="rgDepDetails" runat="server" AutoGenerateColumns="False" GridLines="None" 
                                                  Skin="WebBlue" OnNeedDataSource="rgDepDetails_NeedDataSource">  
                                                  <MasterTableView> 
                                                      <Columns> 
                                                          <radG:GridBoundColumn DataField="Contact" HeaderText="Department" ReadOnly="True" UniqueName="Contact">  
                                                          </radG:GridBoundColumn> 
                                                          <radG:GridBoundColumn DataField="Ext" HeaderText="Extension" ReadOnly="True" UniqueName="Ext">  
                                                          </radG:GridBoundColumn> 
                                                          <radG:GridBoundColumn DataField="Pager" HeaderText="Pager" UniqueName="Pager">  
                                                          </radG:GridBoundColumn> 
                                                          <radG:GridBoundColumn DataField="Office" HeaderText="Office" UniqueName="Office">  
                                                          </radG:GridBoundColumn> 
                                                          <radG:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="Fax">  
                                                          </radG:GridBoundColumn> 
                                                          <radG:GridBoundColumn DataField="IP" HeaderText="IP" UniqueName="IP">  
                                                          </radG:GridBoundColumn> 
                                                      </Columns> 
                                                      <RowIndicatorColumn Visible="False">  
                                                          <HeaderStyle Width="20px" /> 
                                                      </RowIndicatorColumn> 
                                                      <ExpandCollapseColumn Visible="False">  
                                                          <HeaderStyle Width="19px" /> 
                                                      </ExpandCollapseColumn> 
                                                  </MasterTableView> 
                                              </radG:RadGrid></td>  
                                                  </tr> 
                                              </table> 
                                              <br /> 
                                          </asp:Panel> 
                                      </ItemTemplate> 
                                  </radG:GridTemplateColumn> 
                                  <radG:GridBoundColumn DataField="Contact" HeaderText="Department" ReadOnly="True" UniqueName="Contact">  
                                  </radG:GridBoundColumn> 
                                  <radG:GridBoundColumn DataField="Ext" HeaderText="Extension" ReadOnly="True" UniqueName="Ext">  
                                  </radG:GridBoundColumn> 
                                  <radG:GridBoundColumn DataField="Pager" HeaderText="Pager" UniqueName="Pager">  
                                  </radG:GridBoundColumn> 
                                  <radG:GridBoundColumn DataField="Office" HeaderText="Office" UniqueName="Office">  
                                  </radG:GridBoundColumn> 
                                  <radG:GridBoundColumn DataField="Fax" HeaderText="Fax" UniqueName="Fax">  
                                  </radG:GridBoundColumn> 
                                  <radG:GridBoundColumn DataField="IP" HeaderText="IP" UniqueName="IP">  
                                  </radG:GridBoundColumn>          
                            </Columns> 
                            <RowIndicatorColumn Visible="False">  
                                <HeaderStyle Width="20px" /> 
                            </RowIndicatorColumn> 
                            <ExpandCollapseColumn Visible="False">  
                                <HeaderStyle Width="19px" /> 
                            </ExpandCollapseColumn> 
                        </MasterTableView> 
                    </radG:RadGrid> 
I was thinking to do inside the Itemdatabound of the first radgrid.;
Dim rgdepdetails As Telerik.WebControls.RadGrid = DirectCast(rgDep.Items(0).FindControl("rgDepDetails"), RadGrid)  
 
It throws an out of range error.

Any Ideas?

Thanks,
Shehab
Shehab
Top achievements
Rank 1
 answered on 14 Aug 2008
2 answers
217 views
I'm trying to use a loadingPanel outside of a multiview control and have it show the loading progress during a view change. The controls that initiate the view change are outside of the multiview as well as the loadingPanel. I'm stuck at this point, any tips?

Great controls from what I've been able to do so far and the forums have been very helpfull in learning.

I'm using the lastest trial version of the controls.

Thanks, Burl
Burl
Top achievements
Rank 2
 answered on 14 Aug 2008
2 answers
141 views
RadEditor Lite is visible in a Virtual environment, but not in a live envoronment.

The tool has been installed in the same way on both the virtual machine and live environment, and Site features are activated.

Works in a MS VPC environment running 2003 Server / MOSS 2007, and pointing it from an outside XP PC with MSIE 7, or Firefox 2.

Not working when hitting the dev box that is on a VMC cluster running 2003 Server / MOSS 2007 from an outisde XP PC with MSIE 6 or 7.  However - when hitting the same site from another 2003 server with MSIE it works.

I have tried standard reocmmendations with no luck.
Installed app as server Administrator. Verified file location, and that features are Activated on each site. Retracked and Deployed app twice. Gave the iisreset command multiple times.

Any other ideas?  Any other limitations or issues we should be aware of?
Christ
Top achievements
Rank 1
 answered on 14 Aug 2008
3 answers
196 views
I was counfused as to why in support documentation tag prefix is <telerik:RadToolBarButton>, where as, in my design time for any aspx page, it shows up as <rad:RadToolBar>.

I am also seeing API differences as well. Is there something I should be worried about?.

Thanks,


Insomniac82
Top achievements
Rank 1
 answered on 14 Aug 2008
5 answers
164 views
I have a button inside the command item template of a grid.

I have the openerelementID of the radwindow set to that button's ID.
However when the user clicks the button I want to run a check to see if the user has selected any rows in the grid or not.
If there are rows selected I want to open the RadWindow where user can give some additional information and if there are no rows selected I want to prompt the user to select a row first and stop the RadWindow from showing.

I added a onclientclick event to the button where I can check whether rows are selected.But right now even if the rows are not selected it gives the prompt and then opens the RadWindow.

How can I stop that from happening?
newbie
Top achievements
Rank 1
 answered on 14 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?