Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
173 views
The alt text on the close button says: Close.

Can this text be translated, has anyone spotted the property?
Georgi Tunev
Telerik team
 answered on 01 Jul 2008
11 answers
273 views

Hi

I have a problem when i try to add a nodetemplate at runtime. Everythings works fine when i dot it in the page_init event but when i call the same function in the context menu event "ContextMenuItem_click" , the nodetemplate displays fine but when i click on a webcontrol (radioButtonList) not event is raise... ???

thanks is advance for your help. If you need more details on this case please let me know.

Dominic
Top achievements
Rank 1
 answered on 01 Jul 2008
1 answer
57 views
On the RadGrid, two things, how do I set the dataKey to be passed when a row is selected and secondly, is there away to cause a postback for update panels.

Thanx
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2008
1 answer
136 views
Hello guys,

I have a problem regarding exporting the content of a RadGrid if this RadGrid resides inside of an UpdatePanel. I know it's an old subject, but all the solutions lead to tricking the UpdatePanel into giving up and allowing a full page postback, and that is not what i want. I'm not sure there is even a way to get arount this, but i really need it as I have a page full of controls and i cannot afford to allow full-blown postbacks every time something happens.

From what i have seen, the exporting occurs on the page postback. But, since the Update Panel does not allow the refresh (postback) of the entire page (by the way, this is actually the reason I'm using it, so that the postback needed to perform an action would occur at the panel level and not the page level), the exporting does not work. To make it work, I have registered the control causing the exporting (RadComboBox) as a trigger in the Update Panel, but that just ruins the whole purpose of the Update Panel, as the whole page is being refreshed.

And even so, with the trigger, I'm having problems with the export settings as they don't work properly (for instance, when the IgnorePaging property is set to True, it shows me only the first page), and I'm guessing that is also because of the UpdatePanel my RadGrid and RadComboBox reside in.

I could use any help. Thanks.
Vlad
Telerik team
 answered on 01 Jul 2008
2 answers
144 views

I have a listbox on a user control that serves as an edit control for a radgrid that is on another user control.

Everything executes without error but when the listbox displays it has nothing selected.
Here is the aspx and code behind.

private void UsersControlEditSCS_DataBinding(object sender, System.EventArgs e)
    {

        listSCS.DataBind();
        listSCS.Items[i].Selected = true;
        listSCS.Items[0].Selected = true;
        listSCS.Items[1].Selected = true;
        listSCS.Items[2].Selected = true;
        }
    }

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UsersControlEditSCS.ascx.cs" Inherits="BalancedFlow.WebSite3._5.Controls.UsersControlEditSCS" %>
<table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="1" rules="none"
 style="border-collapse: collapse">
 <tr>
  <td colspan="2">
   <b>Link to SCS</b></td>
 </tr>
 <tr>
  <td colspan="2">
  
   (Select one, or more with CTRL key)</td>
 </tr>
 <tr>
  <td>
   <table id="Table3" cellspacing="1" cellpadding="1" width="100%" border="0">
 
   </table>
  </td>
  <td>
   <table id="Table1" cellspacing="1" cellpadding="1" width="300" border="0">
    <tr>
     <td>
      &nbsp;</td>
    </tr>
    <tr>
     <td>
      <asp:ListBox ID="listSCS" runat="server" SelectionMode="Multiple" DataTextField="SCS_Name"
       DataValueField="SCS_ID" Width="325px"></asp:ListBox>
     </td>
    </tr>
    <tr>
     <td>
      &nbsp;</td>
    </tr>
    <tr>
     <td>
      &nbsp;</td>
    </tr>
   </table>
  </td>
 </tr>
 <tr>

John Davis
Top achievements
Rank 2
 answered on 01 Jul 2008
1 answer
70 views
Hello all
these days i am trying to use an OR-mapping architecture  in my new versions of my own projects , now i am really confused about the huge number of OR-mapping architectures just like NHibernate, EntitySpaces, NetTiers, etc...

now my question is , what is the best favorable architectures to be used for Rad Controls for ASP.NET ?

best wishes


Michael Josiah
Top achievements
Rank 1
 answered on 01 Jul 2008
1 answer
116 views
Hi,

i have an existing c# project using several third-party controls - including Anthem. Then i added RadColorPicker, RadAjaxManager, RadAjaxPanel into this project in order to have a nice ColorPicker with Ajax Request on one of the pages. I managed to get it worked but the problem is

RCP made my Anthem.Gridview not functioned OR
when i first opened this page and did some Ajax.Request from Anthem Controls, the RCP didnt display pop-up color palette anymore.

is there any workaround for this problem or is it totally incompatible to use RadControls with Anthem

Thanks,
Keartiyos
Georgi Tunev
Telerik team
 answered on 01 Jul 2008
1 answer
145 views
Hi There,

I have a situation where I have a RadTabStrip, a RadMultiPage control and  RadGridView control.

The content is generated for the RadGridview dynamically. One of the columns is a GridButton Column, and when clicked, I want to catch the click, run a method on another WebUser Control contained in another Tab, and display the other tab.

I have most of this working.  I use the ItemCommand Event to catch the click of the GridButton Column, and use Parent.FindControl to get access to the RadTabStrip, RadMultiPage, and the WebUser control.

The code executes, but the Tab Strip never changes...  I'm not sure what to do to change it.


Here is the code that I execute in the ItemCommand event:

switch (e.CommandName)

{

case "cmdShowRelations":

strUniqueID = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][

"uid"].ToString();

Telerik.Web.UI.

RadTabStrip rts = Parent.FindControl("RadTabStrip1") as RadTabStrip;

RadMultiPage mp = Parent.FindControl("mpPersonsSearch") as RadMultiPage;

ctlFindRelatedPersons frp = Parent.FindControl( "ctlFindRelated" ) as ctlFindRelatedPersons;

frp.LoadRelatedPerson(strUniqueID);

rts.FindTabByText(

"Related").Selected = true;

mp.SelectedIndex = rts.SelectedTab.Index;

break;

}

Paul
Telerik team
 answered on 01 Jul 2008
1 answer
132 views
I have a page that is adding rows to a radgrid on indexchange for a radcombo.

I am using a radajaxmanager for this

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"  OnAjaxRequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBoxClient"               EventName="SelectedIndexChanged">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgdClients" LoadingPanelID="LoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

When I add the grid row I add a control to the radtooltipmanager

GridRadToolTipManager.TargetControls.Add(e.Item.ClientID, client.Id.ToString(),

true);

However, the OnAjaxUpdate does not get called. Though when I remove the ajaxmanager all works fine.

Does anyone have any ideas on this?

Andrew

Svetlina Anati
Telerik team
 answered on 01 Jul 2008
3 answers
222 views
hi
i am trying to access data from template form control after firing update command but not able to access it in code behind
follwing is the code


----------------

protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
    {
        ParameterCategoryList pclist = ParameterCategoryList.NewParameterCategoryList();
        pclist = ParameterCategoryList.GetParameterCategoryList(new Guid("4EF52DD9-6875-4ACE-A176-3AAACE78A502"), 23315);
        RadGrid1.DataSource = pclist;
    }
    protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
    {
        if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
        {
            GridEditableItem geditem = (GridEditableItem)e.Item;
            geditem["CategoryId"].Controls.Clear();
            geditem["ShortName"].Controls.Clear();
            DropDownList DD = new DropDownList();
            CheckBoxList CL = new CheckBoxList();
            CL.ID = "CL";
            DD.ID = "DD";
            geditem["CategoryId"].Controls.Add(DD);
            geditem["ShortName"].Controls.Add(CL);
        }
    }
    protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)
    {
        GridEditableItem eItem = e.Item as GridEditableItem;
       
        string strtxt = eItem.GetDataKeyValue("ShortName").ToString();
    }
    protected void RadGrid1_PreRender(object sender, EventArgs e)
    {
        foreach (GridEditFormItem item in RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem))
        {
            if (item.IsInEditMode)
            {
                DropDownList DDL = (DropDownList)item["CategoryID"].FindControl("DD");
                CheckBoxList CBL = (CheckBoxList)item["ShortName"].FindControl("CL");
                CBL.DataSource = AvailableRecordStatusList.GetStatusList();
                CBL.DataTextField = "value";
                CBL.DataValueField = "key";
                CBL.DataBind();
                DDL.DataSource = AvailableRecordStatusList.GetStatusList();
                DDL.DataTextField = "value";
                DDL.DataValueField = "key";
                DDL.DataBind();
            }
        } 
    }
}
Shinu
Top achievements
Rank 2
 answered on 01 Jul 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?