Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hi,


I've followed as many of the instructions re this error as possible, in the Ajax CallBack Error Article.

(I use iis 5.1 as opposed to the iis 7 described therein).
o/s is XP all service packs.
and VS2005
and Downloaded (after un-installing MS Ajax , so versions are correct ( 1.0.61025.0)

RadUploadProgress Handler is correctly registered.
Web.Config is as per examples / solns shown.

Default web.config setting is trusted ,..did that explicitly anyway,..still same error.

Help would be great
Thanks
Neal
Blaize
Top achievements
Rank 1
 answered on 26 Aug 2008
1 answer
134 views
Hi,
I am using the 2008 Q2 release.
My objective is to use the external Skins included in the SDK so I can make modifications.

On my test ASPX page when I use the embedded skins everything seems ok. 

RadEditor1.EnableEmbeddedSkins = True
RadEditor1.Skin =
"Default"

However by merely including the CSS files from the SDK (listed below) the form and the editor display with various weird side effects *vertical scrollbar does not appear in the content area when needed
*update panel color is gray and there's a dashed border
etc etc.
(note:this happens without setting EnableEmbeddedSkins =false).



ARE THE ETERNAL SKINS INCLUDED IN THE SDK up to date/valid etc?

Also, your solution for making the editor appear as a text box (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/EditorAsTextBox/DefaultCS.aspx)  works fine with the DEFAULT skin but NOT with the Office2007 skin  (using embedded skins)!!!!!




<link href="Skins723/Default/Editor.Default.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Default/Widgets.Default.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Default/Window.Default.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Default/toobar.Default.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Default/editorcontentarea.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Editor.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Widgets.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Window.css" rel="stylesheet" type="text/css" />
<link href="Skins723/Toolbar.css" rel="stylesheet" type="text/css" />



 

Rumen
Telerik team
 answered on 26 Aug 2008
1 answer
178 views

We are building a very dynamic Ajax web application using Telerik Tabstrib.

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" ontabclick="RadTabStrip1_TabClick" ScrollChildren="True" ScrollButtonsPosition="Middle" onclienttabselecting="onTabSelecting" OnClientLoad="SetScrollPosition"></telerik:RadTabStrip>

Our tabs are build dynamically by code on the server using a Template. 

    public void InstantiateIn(System.Web.UI.Control container)
{        
    Label label1 = new Label();
    label1.ID = "ItemLabel";
    label1.Text = "Text";
    label1.Font.Size = 10;
    label1.Font.Bold = true;
    label1.DataBinding += new EventHandler(label1_DataBinding);

    Image image1 = new Image();
    image1.ID = "ItemImage";
    image1.AlternateText = "Delete";
    image1.ImageUrl = @"~\images\tabs\delete.gif";

    image1.DataBinding += new EventHandler(image1_DataBinding);

    container.Controls.Add(label1);            
    container.Controls.Add(image1);
}

    void image1_DataBinding(object sender, EventArgs e)
    {
       Image target = (Image)sender;
       RadTab tab = (RadTab)target.BindingContainer;
        
        string
tabText = tab.Text;        

        if (tabText == "+")
            target.CssClass = "btnHidden";
        else
        {
            target.CssClass = "btnVisible";
            t
arget.Attributes.Add("onclick", "deleteTab(" + tab.Value + ");");
        }
    } 

    private void label1_DataBinding(object sender, EventArgs e)
    
{     
        Label target = (Label)sender;
        RadTab tab = (RadTab)target.BindingContainer;
        string tabText = (string)DataBinder.Eval(tab, "Text");
        target.Text = tabText;
}

The first problem we encountered using a template is that we lost the default skin. For the temporary we now use RadTabStrip1.Skin = "Outlook"; How can we get the default skin back?

When the aspx page is rendered the result looks OK

We added some javascript code to delete tabs and with IE7 is works reasonably OK. But with FireFox nothing works.  No response when clicking on tabs of the delete image. Is this a common thing?

Third thing: As you see the image, the delete cross id beyond its scroll boundaries. Do you have something to fix this?

Paul
Telerik team
 answered on 26 Aug 2008
1 answer
96 views
Hi,

I have an annoying situation where the editor works fine for all users except one person. When the editor loads, only the font type and size dropdown menus are shown in the editor menu, everything else (dropdowns, icons, etc) is gone.

Now, obviously, there must be something wrong with his setup, but I have no clue what that might be. He uses Internet Explorer 7, by the way.

Perhaps you at Telerik or anyone else have some idea what might cause incomplete editor menus on specific user machines? Security issues?

Thanks in advance.

Regards,
Tommy
Georgi Tunev
Telerik team
 answered on 26 Aug 2008
1 answer
260 views
Hi Telerik,

Our company is currently working on an advanced version of your tabstrip. we are trying to achieve the same effect as the IE or FF bar, so that we can add up to 10 tabs and delete them again.
Since we are using more controls to do this (radmenu as listbox in front of radtabstrip, statistics in the tabs themself), we need to have the delete of the tab on serverside, so we can make sure that everything about that tab is deleted.

we used a tabstrip template as found in your samples, and we replaced the delete image by an imagebutton with a command event. that event will be wired to our method that is going to delete all the tabvalues in all controls.

however, our issues:
- this serverclick on delete button is only working in FF, IE is just giving us a click on the tab (without postback)
- firefox is able to delete tabs, but not to add them anymore.. no errors occuring

code:

TEMPLATE
using System;  
using System.Collections.Generic;  
using System.Web;  
using System.Web.UI;  
using System.Web.UI.HtmlControls;  
using System.Web.UI.WebControls;  
using Telerik.Web.UI;  
 
public class TextBoxTemplate : System.Web.UI.ITemplate  
{  
    public event CommandEventHandler DeleteClick;  
   
    public TextBoxTemplate()  
    {}
    #region ITemplate Members  
    public void InstantiateIn(System.Web.UI.Control container)  
    {  
        Label label1 = new Label();  
        label1.ID = "ItemLabel";  
        label1.Text = "Text";  
        label1.Font.Size = 10;  
        label1.Font.Bold = true;  
        label1.DataBinding += new EventHandler(label1_DataBinding);  
 
        ImageButton image1 = new ImageButton();  
        image1.ID = "ItemImage";  
        image1.AlternateText = "Delete";  
        image1.ImageUrl = @"~\images\tabs\delete.png";  
        image1.DataBinding += new EventHandler(image1_DataBinding);  
        image1.Command += new CommandEventHandler(image1_Command);  
          
        container.Controls.Add(label1);  
        container.Controls.Add(image1);  
        //container.Controls.Add(ib);  
    }  
 
    void  image1_Command(object sender, CommandEventArgs e)  
    {  
        if (DeleteClick != null)  
            DeleteClick(this, e);  
    }  
 
    void image1_DataBinding(object sender, EventArgs e)  
    {  
        ImageButton target = (ImageButton)sender;  
        RadTab tab = (RadTab)target.BindingContainer;  
 
        string tabText = tab.Text;  
 
        if (tabText == "+")  
            target.CssClass = "btnHidden";  
        else 
        {  
            target.CssClass = "btnVisible";  
            target.CommandName = tab.Value;  
         }  
    }  
 
    private void label1_DataBinding(object sender, EventArgs e)  
    {  
        Label target = (Label)sender;  
        RadTab tab = (RadTab)target.BindingContainer;  
        string tabText = (string)DataBinder.Eval(tab, "Text");  
        target.Text = tabText;  
    }
    #endregion  
}  
 


Page.aspx.cs
 
 
    protected void Page_Init(object sender, EventArgs e)  
    {  
        WebChartViewer.OnPageInit(Page);  
 
        TextBoxTemplate template = new TextBoxTemplate();  
        template.DeleteClick += new CommandEventHandler(template_DeleteClick);  
        RadTabStrip1.TabTemplate = template;  
        RadTabStrip1.Skin = "Outlook";  
        //base.OnInit(e);  
    }  
 
    void template_DeleteClick(object sender, CommandEventArgs e)  
    {  
        RadTab r = RadTabStrip1.FindTabByValue(e.CommandName);  
        RadTabStrip1.Tabs.Remove(r);  
 
    }  
 
    protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!Page.IsPostBack)  
        {  
            // clear tabs: (when user hits refresh, to prevent the viewstate to keep the tabs)  
            RadTabStrip1.Tabs.Clear();  
 
            // add tabs  
            RadTab tabAdd = new RadTab("+");  
            RadTab tab1 = new RadTab("Tab 1");  
            //tab1.PageViewID = "1";  
            tab1.Value = "1";  
            tab1.PostBack = true;  
            //tabAdd.PageViewID = "0";  
            tabAdd.Value = "2";  
            //tabAdd.Value = "0";  
 
            RadTabStrip1.Tabs.Add(tab1);  
            RadTabStrip1.Tabs.Add(tabAdd);  
            RadTabStrip1.SelectedIndex = 0;  
 
            ShowInitialTextOnPanel(1);  
            //ShowTab(1);  
 
            dictionaryStatistics = new Dictionary<int, StatDetail>();  
 
            //clear tablist items  
            rmiTabList.Items.Clear();  
 
            // add a tablistItem for first tab  
            RadMenuItem rmi = new RadMenuItem("Tab 1");  
            rmi.Value = "1";  
            // value is used for locating the tab and selecting it on the click of the listItem  
            rmiTabList.Items.Add(rmi);  
        }  
        else 
        {  
            dictionaryStatistics = (Dictionary<int, StatDetail>)ViewState["Statistics"];  
        }  
        RadTabStrip1.DataBind();  
    }  
 
    private string GetFirstFreePanel()  
    {  
        int expected = 1;      
 
        foreach (RadTab rt in RadTabStrip1.Tabs)  
        {  
            if (expected != Convert.ToInt32(rt.Value))  
            {  
                return expected.ToString();  
            }  
            else 
                expected++;  
        }  
        return RadTabStrip1.Tabs.Count.ToString();  
    }  
 
   protected void RadTabStrip1_TabClick(object sender, Telerik.Web.UI.RadTabStripEventArgs e)  
    {  
        string tabSelected = e.Tab.Text;  
 
        //string[] tabOverview;  
                            
 
        if (tabSelected == "+" && RadTabStrip1.Tabs.Count < 11)  
        {  
            RadTab tb = RadTabStrip1.SelectedTab;  
            tb.Text = "Tab " + RadTabStrip1.Tabs.Count.ToString();  
            tb.PostBack = true;  
            //tb.PageViewID = RadTabStrip1.Tabs.Count.ToString();  
            tb.Value = RadTabStrip1.Tabs.Count.ToString();  
 
            string firstFreePanel = GetFirstFreePanel();  
 
 
            //add a new listItem to the tablist  
            string cnt = RadTabStrip1.Tabs.Count.ToString();  
            RadMenuItem rmi = new RadMenuItem();  
            rmi.Text = "Tab" + cnt;  
            rmi.Value = cnt;  
            rmiTabList.Items.Add(rmi);  
 
 
            if (RadTabStrip1.Tabs.Count < 10)  
            {  
                RadTab tab = new RadTab("+");  
                //tab.PageViewID = "0";             
 
                int next = RadTabStrip1.Tabs.Count + 1;  
                tab.Value = next.ToString();                  
 
                RadTabStrip1.Tabs.Add(tab);  
                updpTabstrip.Update();  
            }  
 
            //RadTabStrip1.SelectedIndex = Convert.ToInt32(tb.PageViewID) - 1;  
            RadTabStrip1.SelectedIndex = Convert.ToInt32(tb.Value)-1;  
 
            //Add initial text to panel  
            //ShowInitialTextOnPanel(Convert.ToInt32(tb.PageViewID));  
            ShowInitialTextOnPanel(Convert.ToInt32(tb.Value));  
 
            RadTabStrip1.DataBind();  
        }  
        else 
        {  
            // fire event  
            if (TabClick != null)  
            {  
                TabClick(sender, new Telerik.Web.UI.RadTabStripEventArgs(RadTabStrip1.SelectedTab));  
            }  
        }  
    } 


Page.aspx
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
    <script type="text/javascript">      
    //when selecting a tab          
    function onTabSelecting(sender, args)  
    {      
         //var tab = args.get_tab().get_index();             
         var tab = args.get_tab().get_value();           
         tab--;  
                          
         for (var x=0; x<10; x++)  
         {  
            var pnl = document.getElementById("pnl" + (x+1));                
              
            if (x == tab)  
            {  
                pnl.style.visibility = "visible";      
                pnl.style.display = "inline";            
            }  
            else  
            {  
                pnl.style.visibility = "hidden";  
                pnl.style.display = "none";  
            }  
         }  
    }    
    // when selecting a tab in the tablist  
     function onTabListItemSelecting(e)  
     {  
        for(var x=1; x<=10; x++)  
        {  
            var pnl = document.getElementById("pnl" + (x));  
              
            if (x == e)  
            {  
                pnl.style.visibility = "visible";      
                pnl.style.display = "inline";     
            }  
            else  
            {  
                pnl.style.visibility = "hidden";  
                pnl.style.display = "none";     
            }  
        }  
     }       
    function SetScrollPosition()              
    {      
        var tabStrip = $find("<%=RadTabStrip1.ClientID %>");  
        tabStrip.get_selectedTab().scrollIntoView();  
    }  
</script></telerik:RadCodeBlock> 
 
 
 
    <asp:UpdatePanel ID="updpTabstrip" runat="server" UpdateMode="Conditional"><ContentTemplate> 
        <%-- tablist --%> 
        <telerik:RadMenu runat="server" ID="rcmTabList" ClickToOpen="true" OnItemClick="rcmTabList_Click" CssClass="RadMenu">  
            <Items> 
                <telerik:RadMenuItem ImageUrl="~/Images/Tabs/ListArrow.png" ToolTip="Tablijst" ID="rmiTabList" BackColor="White" Height="20px" Width="17" PostBack="false">  
                    <Items> 
                    <%-- filled in dynamically --%>                  
                    </Items> 
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
        <%-- tabstrip --%> 
          
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" 
            ontabclick="RadTabStrip1_TabClick" ScrollChildren="True"   
            ScrollButtonsPosition="Middle" onclienttabselecting="onTabSelecting" OnClientLoad="SetScrollPosition">              
              
        </telerik:RadTabStrip> 
    </ContentTemplate></asp:UpdatePanel> 
 
 
 
Atanas Korchev
Telerik team
 answered on 26 Aug 2008
5 answers
410 views

With the below ASPX  page i am getting Sys.InvalidOperationException exception on paging. Please share me if anyone has solution for this. This problem is occuring in almost all the pages where i have used telerik GRid.

<

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">

</telerik:RadStyleSheetManager>

<telerik:RadScriptManager ID="ScriptManager1" runat="server">

</telerik:RadScriptManager>

<script src="../Scripts/ProviderEnrollment.js" language="javascript"></script>

&nbsp;&nbsp;&nbsp;

<div id="divARReview">

<asp:Panel ID="pnlPE" runat="server" Width="100%" Height="30px" CssClass="collapsePanelHeader">

<div style="padding: 5px; cursor: pointer; vertical-align: middle;">

<div class="clsPanelHeading" style="float: left;">

<%

=Resources.PageTitles.pageProviderEnrollment%>

</div>

<div style="float: right; vertical-align: middle;">

<asp:Image ID="Image2" runat="server" ImageUrl="~/images/expand_blue.jpg" />

</div>

</div>

</asp:Panel>

<asp:Panel ID="pnlProviderEnrollment" runat="server" Width="100%" Height="0" CssClass="collapsePanel">

<asp:UpdatePanel ID="upProviderEnrollment" runat="server">

<contenttemplate>

<TABLE cellSpacing="5" cellPadding="2" width="100%" align="left" border="0">

<TBODY>

<TR><TD colspan="2" align=left></TD></TR>

<TR>

<TD class="clsLabel" align="left" colspan="2" ><b>Select Carrier/ Provider</b></TD>

</TR>

<TR>

<TD align="left" colspan="2">

<telerik:RadGrid OnSelectedIndexChanged="grdPE_SelectedIndexChanged" id="grdPE" runat="server" Skin="Office2007" DataSourceID="objDataSrcPE" GridLines="None" AllowSorting="True" AllowPaging="True" PageSize="5">

<SelectedItemStyle BackColor="#BDD6F5"></SelectedItemStyle>

<HeaderStyle BackColor="#E3EAF1"></HeaderStyle>

<ClientSettings>

<Selecting AllowRowSelect="True"></Selecting>

<ClientEvents OnRowCreated="RowCreatedCarrier" OnRowCreating="RowCreatingCarrier" OnRowDblClick="RowSelectedCarrier"></ClientEvents>

</ClientSettings>

<MasterTableView AutoGenerateColumns="False" DataSourceID="objDataSrcPE">

<Columns>

<telerik:GridBoundColumn DataField="Carrier Name/Code/Plan" UniqueName="CarrierCodePlan" HeaderText="Carrier Name/Code/Plan"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="P/A" UniqueName="P/A" HeaderText="P/A"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Provider Name" UniqueName="ProviderName" HeaderText="Provider Name"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="New" UniqueName="New" HeaderText="New"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Open" UniqueName="Open" HeaderText="Open"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="CarrierPlansRecordUID" UniqueName="CarrierPlansRecordUID" HeaderText="CarrierPlansRecordUID" Display="False"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ProviderUID" UniqueName="ProviderUID" HeaderText="ProviderUID" Display="False"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ProviderType" UniqueName="ProviderType" HeaderText="ProviderType" Display="False"></telerik:GridBoundColumn>

</Columns>

<ExpandCollapseColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</ExpandCollapseColumn>

<RowIndicatorColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</RowIndicatorColumn>

</MasterTableView>

</telerik:RadGrid>

<asp:ObjectDataSource id="objDataSrcPE" runat="server" TypeName="Kam.Web.ObjectDS.ProviderEnrollmentDS" SelectMethod="GetCarrierByGroupUID">

<SelectParameters>

<asp:ControlParameter PropertyName="Value" Type="Int64" DefaultValue="" Name="plGroupId" ControlID="hdnGroup"></asp:ControlParameter>

</SelectParameters>

</asp:ObjectDataSource>

<asp:HiddenField ID="hdnGroup" runat="server"></asp:HiddenField>

<asp:HiddenField ID="hdnProviderType" runat="server"></asp:HiddenField>

<asp:HiddenField ID="hdnCarrierPlansRecordUID" runat="server"></asp:HiddenField>

<asp:HiddenField ID="hdnProviderUID" runat="server"></asp:HiddenField>

</TD>

</TR>

<tr style="display:none">

<td><asp:Button ID="btnCarriernRowSelected" runat="server" /> </td>

</tr>

<TR>

<TD class="clsLabel" align="left" width="47%"><b>Cases</b></TD>

<TD class="clsLabel" align="left"><b>Actions</b></TD>

</TR>

<tr class="clsLabel">

<td align="left" valign="top" colspan="2">

<table cellspacing="2" cellpadding="0" border="0" bordercolor="red" >

<tr>

<td width="30%" valign="top" align="left">

<table >

<tr>

<td valign="top" align="left">

<telerik:RadGrid id="grdCases" runat="server" Skin="Office2007" DataSourceID="objDataSrcCases" GridLines="None" AllowSorting="True" AllowPaging="True" PageSize="5">

<SelectedItemStyle BackColor="#BDD6F5"></SelectedItemStyle>

<HeaderStyle BackColor="#E3EAF1"></HeaderStyle>

<ClientSettings>

<Selecting AllowRowSelect="True"></Selecting>

<ClientEvents OnRowCreated="RowCreatedCases" OnRowCreating="RowCreatingCases" OnRowDblClick="RowSelectedCases"></ClientEvents>

</ClientSettings>

<MasterTableView AutoGenerateColumns="False" DataSourceID="objDataSrcCases">

<Columns>

<telerik:GridBoundColumn DataField="Case#" UniqueName="Case#" HeaderText="Case#"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Status" UniqueName="Status" HeaderText="Status"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Created By" UniqueName="Name" HeaderText="Crated By"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Created" UniqueName="New" HeaderText="Created"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FollowupUID" UniqueName="FollowupUID" HeaderText="FollowupUID"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ActionUID" UniqueName="ActionUID" HeaderText="ActionUID" Display="False"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="PatientRecordUID" UniqueName="PatientRecordUID" HeaderText="PatientRecordUID" Display="False"></telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Comments" UniqueName="Comments" HeaderText="Comments" Display="False"></telerik:GridBoundColumn>

</Columns>

</MasterTableView>

</telerik:RadGrid>

<asp:ObjectDataSource id="objDataSrcCases" runat="server" TypeName="Kam.Web.ObjectDS.ProviderEnrollmentDS" SelectMethod="GetCases">

<SelectParameters>

<asp:ControlParameter PropertyName="Value" Type="Int64" DefaultValue="" Name="plGroupId" ControlID="hdnGroup"></asp:ControlParameter>

<asp:ControlParameter PropertyName="Value" Type="Int64" DefaultValue="" Name="plCarrierPlansUID" ControlID="hdnCarrierPlansRecordUID"></asp:ControlParameter>

<asp:ControlParameter PropertyName="Value" Type="String" DefaultValue="" Name="psProviderType" ControlID="hdnProviderType"></asp:ControlParameter>

<asp:ControlParameter PropertyName="Value" Type="Int64" DefaultValue="" Name="plProviderUID" ControlID="hdnProviderUID"></asp:ControlParameter>

</SelectParameters>

</asp:ObjectDataSource>

<asp:HiddenField ID="hdnActionUID" runat="server" />

<asp:HiddenField ID="hdnChargeHeaderUID" runat="server" />

<asp:HiddenField ID="hdnApplyActionToAllFollowups" runat="server" />

<asp:HiddenField ID="hdnComments" runat="server" />

<asp:HiddenField ID="hdnActionMode" runat="server" />

<asp:HiddenField ID="hdnFollowUpIds" runat="server" />

</td>

</tr>

<tr>

<td>

<textarea id="txaComm" readonly="readonly" style="background-color:#C0C0C0" rows="3" cols="40"></textarea>

</td>

</tr>

</table>

</td>

<td width="12%" valign="top" align="left">

<img id="btnCaseHistory" src="../Images/btn_casehistory.gif" />

</td>

<td width="58%" valign="top" align="left">

<table cellpadding="0" width="100%" cellspacing="2" border="0" bordercolor="blue">

<tr>

<td width="10%">

<img id="btnPending" onclick="javascript:SetAction('44')" src="../Images/btn_Pending.gif" />

</td>

<td rowspan="3" width="90%">

<div id="divNotes" style="display:none">

<table cellpadding="0" cellspacing="3" border="0" bordercolor="green">

<tr>

<td colspan="2">

<textarea id="txaCommentsText" name="txaCommentsText" runat="server" rows="3" cols="47"></textarea>

</td>

</tr>

<tr>

<td align="left" width="35%"><asp:CheckBox ID="chkRefilClaim" runat="server" Text="Refile Claim" ></asp:CheckBox></td>

<td align="left" width="65%">

<asp:ImageButton ID="btnOk" runat="server" OnClientClick="return ConfirmForAllActions();" ImageUrl="~/Images/btn_ok.gif"></asp:ImageButton>

<img id="btnCancel" src="../Images/btn_cancel.gif" onclick="javascript:OnCancel()" />

</td>

</tr>

</table>

</div>

</td>

</tr>

<tr>

<td>

<img id="btnCloseItem" onclick="javascript:SetAction('1')" src="../Images/btn_CloseItem.gif" />

</td>

<td>

</td>

</tr>

<tr>

<td>

<img id="btnReturnToAR" onclick="javascript:SetAction('45')" src="../Images/btn_ReturnToAR_Rep.gif" />

</td>

<td align="left" class="clsLabel">

</td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

</TBODY>

</TABLE>

</contenttemplate>

</asp:UpdatePanel>

</asp:Panel>

</div>

<AjaxTools:CollapsiblePanelExtender ID="cpe1" runat="Server" SuppressPostBack="true"

CollapsedImage="~/images/expand_blue.jpg" ExpandedImage="~/images/collapse_blue.jpg"

ImageControlID="Image1" CollapsedText="(Show Details...)" ExpandedText="(Hide Details...)"

TextLabelID="Label1" Collapsed="false" CollapseControlID="pnlPE" ExpandControlID="pnlPE"

TargetControlID="pnlProviderEnrollment">

</AjaxTools:CollapsiblePanelExtender>

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

<script type="text/javascript">

function GetGrid()

{

var grid = $find("<%=grdCases.ClientID %>");

var hdnFollowUpIds = document.getElementById('ctl00_ContentPlaceHolder1_hdnFollowUpIds')

var hdnChargeHeaderIds = document.getElementById('ctl00_ContentPlaceHolder1_hdnChargeHeaderUID')

var MasterTable = grid.get_masterTableView();

var rows = MasterTable.get_dataItems()

var followUpIds;

var chargeHeaderUID = "";

var allFollowUpIds = "";

var allChargeHeaderIds = "";

var eachRow;

for (var row = 0; row < rows.length; row++)

{

eachRow = MasterTable.get_dataItems()[row]

followUpIds = MasterTable.getCellByColumnUniqueName(eachRow,

"FollowupUID");

chargeHeaderUID = MasterTable.getCellByColumnUniqueName(eachRow,

"Case#");

if (allFollowUpIds == "")

{

allFollowUpIds = followUpIds.innerHTML

}

else

{

allFollowUpIds = allFollowUpIds +

"," + followUpIds.innerHTML

}

if (allChargeHeaderIds == "")

{

allChargeHeaderIds = chargeHeaderUID.innerHTML

}

else

{

allChargeHeaderIds = allChargeHeaderIds +

"," + chargeHeaderUID.innerHTML

}

}

if (allFollowUpIds != "")

{

hdnFollowUpIds.value = allFollowUpIds

hdnChargeHeaderIds.value = allChargeHeaderIds

}

}

</script>

</telerik:RadCodeBlock>

</

asp:Content>

Konstantin Petkov
Telerik team
 answered on 26 Aug 2008
1 answer
136 views
I found a few posts showing examples of how to put a RadTreeView in a RadCombobox and a RadTreeView in a plain DIV. However none of these are recent. Is there a recent example project showing how to do this using Visual Studio 2008 (.Net 3.5) and the latest RadControls for ASP.Net Ajax?
Yana
Telerik team
 answered on 26 Aug 2008
5 answers
338 views
Hi,
I'm evaluating Telerik products and so far so good - but I have created  a web grid and and it is populated with a dataset.  There are 20 columns so i have it horizontally scroll (I wrapped it in a div and set the overflow to horizontal flow)- it looks great except when I drag a column to the group by header - then my table shrinks to the width with no scrolling and the columns are so narrow I can't read what is in them.
How can I make it so the grid retains it's scrolling ability and it's column widths?
Any help is appreciated. Thanks!

joni
Kiara
Top achievements
Rank 1
 answered on 26 Aug 2008
4 answers
169 views
Hai,
How to set the tab strip orientation in codebehind?
Plz reply.

Kollam2003
kollam2003
Top achievements
Rank 1
 answered on 26 Aug 2008
15 answers
459 views
Hello, I have a problem with upload paths that I hope someone can answer.  I want to set the upload path of the RadEditor to a different drive (effectively outside of the application's directory).  This doesn't work because (I'm assuming here) I'm running in Medium Trust mode.  Is there a way around this by using virtual directories or something.  Anyone have any suggestions?
Erjan Gavalji
Telerik team
 answered on 26 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?