Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
150 views
If I put the following in the ASPX:      <MasterTableView FilterExpression="([Active] = True)">     and put the CurrentFilterFunction="EqualTo" and CurrentFilterValue="True"  on the GridBoundColumn Named Active    The filter is set but does not filter the records.

If I put this in the codebehind on the NeedDataSource Method:

protected void rgManage_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            rgManage.DataSource = GetDataSet();
            if (!Page.IsPostBack)
            {
                rgManage.MasterTableView.FilterExpression = "([Active] = True)";
                GridColumn column = rgManage.MasterTableView.GetColumnSafe("Active");
                column.CurrentFilterFunction = GridKnownFunction.EqualTo;
                column.CurrentFilterValue = "True";
            }
        }

I get the following error on page load:

Expression expected

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: Telerik.Web.UI.ParseException: Expression expected


What am I missing here?   Active is a boolean datatype.
Jeff Reinhardt
Top achievements
Rank 1
 answered on 21 Jul 2010
5 answers
284 views
Hello, guys.
I've downloaded Telerik.Web.UI_2010_2_713_Dev.msi installation package and thought that now life will get much better.
Not a bit!
I uninstalled previos version of telerik ajax controls.
After installation I noticed the welcome message (something like "You hav just installed telerik...'). Toolbox looks ok.
But under Telerik menu I only can see "About" item and nothing more.
Any Telerik application templates have also disappeared.
Has anyone faced this?

With respect, Valery.
Batoha
Top achievements
Rank 1
 answered on 21 Jul 2010
2 answers
94 views
I am using the Hierarchy grid. I could populate the grid using RadGrid1_NeedDataSource, RadGrid1_DetailTableDataBind and RadGrid1_PreRender events by default when the page loads.. but i want these events to fire when i click the Submit button.

Could someone help me..Pls let me know if you need more details
cimscims
Top achievements
Rank 1
 answered on 21 Jul 2010
1 answer
146 views
hi

OnClientProgressBarUpdating is Event is not firing in the localhost for small size file(6MB) .this event is used to check the file size at client side.when we try large file(100MB) this Event is working in localhost.

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

    <script type="text/javascript">

        function checkUploadedFilesSize(progressArea, args) {
            //progressArea.confirmed is a custom variable,
            // you can use another if you want to
            
            if (!progressArea.confirmed && args.get_progressData().RadUpload.RequestSize > 1000000) {
                if (confirm("The total size of the selected files" +
                 " is more than the limit." +
                 " Do you want to cancel the upload?")) {
                    progressArea.cancelRequest();
                }
                else {
                    progressArea.confirmed = "confirmed";
                }
            }
        }
    </script>

    <div>
        <telerik:RadProgressManager runat="server" ID="RadProgressManager1" />
        <telerik:RadUpload runat="server" ID="RadUpload1" >
        </telerik:RadUpload>
        <telerik:RadProgressArea runat="server" ID="RadProgressArea1" OnClientProgressUpdating="checkUploadedFilesSize">
        </telerik:RadProgressArea>
        <asp:Button runat="server" ID="Button1" Text="Upload" />
    </div>
above code is downloaded from Telerik forums(file name 154505_progressbar)

thanks
srikanth.n
T. Tsonev
Telerik team
 answered on 21 Jul 2010
1 answer
100 views
HI,

I implemented radtab inside radgrid. I have have couple of image buttons and asp.net gridview inside RadPageView. in codebehind when i am trying to access those imagebuttons or gridview with id I am getting error like  The name 'imgbtnNotesCancel' does not exist in the current context  for gridview  The name 'gvNotes' does not exist in the current context. Please see the image below. Here is my code. WHat causing the problem. Please help me to fix this. (i tried it by replacing gridview with radgrid still same issue.)

.aspx file

<EditFormSettings EditFormType="Template">
                                <FormTemplate>
                                    <table id="Table1" cellspacing="1" cellpadding="1">
                                        <tr>
                                            <td>
                                                <telerik:RadTabStrip runat="server" ID="RadTabStrip1" Orientation="HorizontalTop"
                                                    SelectedIndex="0" MultiPageID="RadMultiPage1">
                                                    <Tabs>
                                                        <telerik:RadTab Text="Task Data" PageViewID="RadPageView1">
                                                        </telerik:RadTab>
                                                        <telerik:RadTab Text="Notes" PageViewID="RadPageView2">
                                                        </telerik:RadTab>
                                                    </Tabs>
                                                </telerik:RadTabStrip>
                                                <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0">
                                                    <telerik:RadPageView runat="server" ID="RadPageView1">
                                                        <table id="Table3" cellspacing="1" cellpadding="1" width="250" border="0">
                                                            <tr>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Clarify Account Nbr:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval( "Clarify Account Nbr" ) %>'>
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Site ID:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval( "Site ID") %>' TabIndex="1">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Quote ID:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox3" runat="server" Text='<%# Eval( "Quote ID") %>' TabIndex="2">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    EDP Created?:
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="CheckBox1" runat="server" Text='<%# Eval( "EDP Created?") %>' TabIndex="3">
                                                                    </asp:CheckBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right" colspan="2">
                                                                    <asp:Button ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                                                        runat="server" CommandName='Update'></asp:Button> 
                                                                    <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                                                                        CommandName="Cancel"></asp:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </telerik:RadPageView>
                                                    <telerik:RadPageView runat="server" ID="RadPageView2">
                                                        <table id="Table2" cellspacing="1" cellpadding="1" width="250" border="0">
                                                            <tr>
                                                                <td>
                                                                    <legend><b>Add Notes</b></legend>
                                                                    <table id="Tablenotes">
                                                                        <tr>
                                                                            <td align="left">
                                                                                Note Type :
                                                                                <asp:DropDownList ID="DropDownList1" runat="server">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                            <td align="left">
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="left" colspan="2">
                                                                                Note Description
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="left">
                                                                                <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Rows="2" Width="650px"></asp:TextBox>
                                                                            </td>
                                                                            <td>
                                                                                   
                                                                                <asp:ImageButton ID="ImageButton1" OnClick="btnAddNote_Click" runat="server" ToolTip="Add Note"
                                                                                    ImageUrl="~/Images/add-icon.png" />
                                                                                <asp:ImageButton Visible="false" ToolTip="Update" OnClick="imgbtnNotesUpdate_Click"
                                                                                    ID="ImageButton4" runat="server" ImageUrl="~/Images/accept-icon.png" />
                                                                                <asp:ImageButton Visible="false" ToolTip="Cancel" OnClick="imgbtnNotesCancel_Click"
                                                                                    ID="ImageButton5" runat="server" ImageUrl="~/Images/delete-icon.png" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <div style="overflow: auto; height: 160px">
                                                                        <asp:GridView ID="GridView1" BorderColor="#004000" runat="server" AutoGenerateColumns="false"
                                                                            BackColor="White" BorderWidth="1px" BorderStyle="Solid" CellSpacing="0" Width="100%"
                                                                            OnSelectedIndexChanged="gvNotes_SelectedIndexChanged" OnRowDataBound="gvNotes_RowDataBound">
                                                                            <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White"
                                                                                HorizontalAlign="Center" BorderColor="White" BorderWidth="0px" />
                                                                            <PagerSettings Mode="NumericFirstLast"></PagerSettings>
                                                                            <RowStyle ForeColor="#000000" Font-Size="8pt" HorizontalAlign="Left" BorderWidth="1px"
                                                                                BorderColor="#004000" />
                                                                            <AlternatingRowStyle Font-Size="8pt" ForeColor="#000000" BackColor="#F5F5E9" BorderWidth="1px"
                                                                                BorderColor="#004000" />
                                                                            <PagerStyle HorizontalAlign="Right" Font-Bold="true" Font-Size="8pt" />
                                                                            <Columns>
                                                                                <asp:TemplateField Visible="false">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="lblonID" runat="server" Text='<%# Bind("onID") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField HeaderText="Note Description" DataField="Description" />
                                                                                <asp:BoundField HeaderText="Note Type" DataField="Type" />
                                                                                <asp:BoundField HeaderText="Created By" DataField="CreatedBy" />
                                                                                <asp:BoundField DataFormatString="{0:MM/dd/yyyy}" HeaderText="Created Date" DataField="CreationDate" />
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </telerik:RadPageView>
                                                </telerik:RadMultiPage>
                                            </td>
                                        </tr>
                                    </table>
                                </FormTemplate>
                            </EditFormSettings>


.cs file

protected void imgbtnNotesUpdate_Click(object sender, EventArgs e)
{
    try
    {
        clsTaskUpdates_BL objBL = new clsTaskUpdates_BL();
        //string strName = HttpContext.Current.User.Identity.Name.ToString();
        //if (strName.Length > 0)
        //    strName = strName.Substring(strName.IndexOf("\\") + 1);
        string strName = Session["UserName"].ToString();
         
        gvNotes.DataSource = objBL.updateNotes_Bl(Session["selNoteID"].ToString(), Session["selorderID"].ToString(), strName, ddlNoteType.SelectedItem.Text, txtNoteDesc.Text.Trim(), DateTime.Now.ToString());
        gvNotes.DataBind();
        ddlNoteType.ClearSelection();
        txtNoteDesc.Text = string.Empty;
        imgbtnNotesCancel.Visible = false;
        imgbtnNotesUpdate.Visible = false;
        btnAddNote.Visible = true;
    }
    catch (Exception ex)
    {
    }
 
}
 
protected void imgbtnNotesCancel_Click(object sender, EventArgs e)
{
    ddlNoteType.ClearSelection();
    txtNoteDesc.Text = string.Empty;
    imgbtnNotesCancel.Visible = false;
    imgbtnNotesUpdate.Visible = false;
    btnAddNote.Visible = true;
}
 
protected void gvNotes_SelectedIndexChanged(object sender, EventArgs e)
{
    try
    {
        Label lblID = (Label)gvNotes.SelectedRow.Cells[0].FindControl("lblonID");
        Session["selNoteID"] = lblID.Text;
        ddlNoteType.ClearSelection();
        for (int index = 0; index < ddlNoteType.Items.Count; index++)
        {
            if (ddlNoteType.Items[index].Text.ToLower() == gvNotes.SelectedRow.Cells[2].Text.ToLower())
                ddlNoteType.Items[index].Selected = true;
        }
        txtNoteDesc.Text = gvNotes.SelectedRow.Cells[1].Text.Trim().Replace(" ", "");
 
        imgbtnNotesCancel.Visible = true;
        imgbtnNotesUpdate.Visible = true;
        btnAddNote.Visible = false;
 
    }
    catch (Exception ex)
    {
    }
}

Thanks
Raj

Yana
Telerik team
 answered on 21 Jul 2010
1 answer
136 views
HI,

I implemented radtab inside radgrid. I have have couple of image buttons and asp.net gridview inside RadPageView. in codebehind when i am trying to access those imagebuttons or gridview with id I am getting error like  The name 'imgbtnNotesCancel' does not exist in the current context  for gridview  The name 'gvNotes' does not exist in the current context. Please see the image below. Here is my code. WHat causing the problem. Please help me to fix this. (i tried it by replacing gridview with radgrid still same issue.)

.aspx file

<EditFormSettings EditFormType="Template">
                                <FormTemplate>
                                    <table id="Table1" cellspacing="1" cellpadding="1">
                                        <tr>
                                            <td>
                                                <telerik:RadTabStrip runat="server" ID="RadTabStrip1" Orientation="HorizontalTop"
                                                    SelectedIndex="0" MultiPageID="RadMultiPage1">
                                                    <Tabs>
                                                        <telerik:RadTab Text="Task Data" PageViewID="RadPageView1">
                                                        </telerik:RadTab>
                                                        <telerik:RadTab Text="Notes" PageViewID="RadPageView2">
                                                        </telerik:RadTab>
                                                    </Tabs>
                                                </telerik:RadTabStrip>
                                                <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0">
                                                    <telerik:RadPageView runat="server" ID="RadPageView1">
                                                        <table id="Table3" cellspacing="1" cellpadding="1" width="250" border="0">
                                                            <tr>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Clarify Account Nbr:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval( "Clarify Account Nbr" ) %>'>
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Site ID:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval( "Site ID") %>' TabIndex="1">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Quote ID:
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox ID="TextBox3" runat="server" Text='<%# Eval( "Quote ID") %>' TabIndex="2">
                                                                    </asp:TextBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    EDP Created?:
                                                                </td>
                                                                <td>
                                                                    <asp:CheckBox ID="CheckBox1" runat="server" Text='<%# Eval( "EDP Created?") %>' TabIndex="3">
                                                                    </asp:CheckBox>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right" colspan="2">
                                                                    <asp:Button ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                                                        runat="server" CommandName='Update'></asp:Button> 
                                                                    <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                                                                        CommandName="Cancel"></asp:Button>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </telerik:RadPageView>
                                                    <telerik:RadPageView runat="server" ID="RadPageView2">
                                                        <table id="Table2" cellspacing="1" cellpadding="1" width="250" border="0">
                                                            <tr>
                                                                <td>
                                                                    <legend><b>Add Notes</b></legend>
                                                                    <table id="Tablenotes">
                                                                        <tr>
                                                                            <td align="left">
                                                                                Note Type :
                                                                                <asp:DropDownList ID="DropDownList1" runat="server">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                            <td align="left">
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="left" colspan="2">
                                                                                Note Description
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td align="left">
                                                                                <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Rows="2" Width="650px"></asp:TextBox>
                                                                            </td>
                                                                            <td>
                                                                                   
                                                                                <asp:ImageButton ID="ImageButton1" OnClick="btnAddNote_Click" runat="server" ToolTip="Add Note"
                                                                                    ImageUrl="~/Images/add-icon.png" />
                                                                                <asp:ImageButton Visible="false" ToolTip="Update" OnClick="imgbtnNotesUpdate_Click"
                                                                                    ID="ImageButton4" runat="server" ImageUrl="~/Images/accept-icon.png" />
                                                                                <asp:ImageButton Visible="false" ToolTip="Cancel" OnClick="imgbtnNotesCancel_Click"
                                                                                    ID="ImageButton5" runat="server" ImageUrl="~/Images/delete-icon.png" />
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <div style="overflow: auto; height: 160px">
                                                                        <asp:GridView ID="GridView1" BorderColor="#004000" runat="server" AutoGenerateColumns="false"
                                                                            BackColor="White" BorderWidth="1px" BorderStyle="Solid" CellSpacing="0" Width="100%"
                                                                            OnSelectedIndexChanged="gvNotes_SelectedIndexChanged" OnRowDataBound="gvNotes_RowDataBound">
                                                                            <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White"
                                                                                HorizontalAlign="Center" BorderColor="White" BorderWidth="0px" />
                                                                            <PagerSettings Mode="NumericFirstLast"></PagerSettings>
                                                                            <RowStyle ForeColor="#000000" Font-Size="8pt" HorizontalAlign="Left" BorderWidth="1px"
                                                                                BorderColor="#004000" />
                                                                            <AlternatingRowStyle Font-Size="8pt" ForeColor="#000000" BackColor="#F5F5E9" BorderWidth="1px"
                                                                                BorderColor="#004000" />
                                                                            <PagerStyle HorizontalAlign="Right" Font-Bold="true" Font-Size="8pt" />
                                                                            <Columns>
                                                                                <asp:TemplateField Visible="false">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="lblonID" runat="server" Text='<%# Bind("onID") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField HeaderText="Note Description" DataField="Description" />
                                                                                <asp:BoundField HeaderText="Note Type" DataField="Type" />
                                                                                <asp:BoundField HeaderText="Created By" DataField="CreatedBy" />
                                                                                <asp:BoundField DataFormatString="{0:MM/dd/yyyy}" HeaderText="Created Date" DataField="CreationDate" />
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </telerik:RadPageView>
                                                </telerik:RadMultiPage>
                                            </td>
                                        </tr>
                                    </table>
                                </FormTemplate>
                            </EditFormSettings>


.cs file

protected void imgbtnNotesUpdate_Click(object sender, EventArgs e)
{
    try
    {
        clsTaskUpdates_BL objBL = new clsTaskUpdates_BL();
        //string strName = HttpContext.Current.User.Identity.Name.ToString();
        //if (strName.Length > 0)
        //    strName = strName.Substring(strName.IndexOf("\\") + 1);
        string strName = Session["UserName"].ToString();
         
        gvNotes.DataSource = objBL.updateNotes_Bl(Session["selNoteID"].ToString(), Session["selorderID"].ToString(), strName, ddlNoteType.SelectedItem.Text, txtNoteDesc.Text.Trim(), DateTime.Now.ToString());
        gvNotes.DataBind();
        ddlNoteType.ClearSelection();
        txtNoteDesc.Text = string.Empty;
        imgbtnNotesCancel.Visible = false;
        imgbtnNotesUpdate.Visible = false;
        btnAddNote.Visible = true;
    }
    catch (Exception ex)
    {
    }
 
}
 
protected void imgbtnNotesCancel_Click(object sender, EventArgs e)
{
    ddlNoteType.ClearSelection();
    txtNoteDesc.Text = string.Empty;
    imgbtnNotesCancel.Visible = false;
    imgbtnNotesUpdate.Visible = false;
    btnAddNote.Visible = true;
}
 
protected void gvNotes_SelectedIndexChanged(object sender, EventArgs e)
{
    try
    {
        Label lblID = (Label)gvNotes.SelectedRow.Cells[0].FindControl("lblonID");
        Session["selNoteID"] = lblID.Text;
        ddlNoteType.ClearSelection();
        for (int index = 0; index < ddlNoteType.Items.Count; index++)
        {
            if (ddlNoteType.Items[index].Text.ToLower() == gvNotes.SelectedRow.Cells[2].Text.ToLower())
                ddlNoteType.Items[index].Selected = true;
        }
        txtNoteDesc.Text = gvNotes.SelectedRow.Cells[1].Text.Trim().Replace(" ", "");
 
        imgbtnNotesCancel.Visible = true;
        imgbtnNotesUpdate.Visible = true;
        btnAddNote.Visible = false;
 
    }
    catch (Exception ex)
    {
    }
}





.
Yana
Telerik team
 answered on 21 Jul 2010
1 answer
141 views
I work on Project management and I have ProjectEstimatedHours, ProjectDuration, than I have TasksOfProject - EstimatedHours, TaskDuration. Is possible to insert progress bar in row of grid.

1. ProjectA          100hours  50hours ------------->(progresbar)
                1.Task1    20hours 10hours ---->(progressbar)
                2.Task2 ......................................
2.ProjectB ..............

If you understand what I mean. Please help, because I searching for control which can do that. You controls is great, but I don t see that possibility.
Mira
Telerik team
 answered on 21 Jul 2010
1 answer
131 views
Hi, I can get the sender id by args.get_itemIndex();, how can i get the destinationElement(which must also be a radlistviewitem) ID and/or clientvalue?
Rosen
Telerik team
 answered on 21 Jul 2010
2 answers
97 views
Hi,
    I am using RadGrid,which is having the feature of Hierarchial grid. I used to bind the Hierarchial table under DetailTableDataBind event of parent grid.
Everything is working fine, but i would like to bind the child or hierarchial grid only at the time the Expand button clicks, so that i can improve the speed and enable the grid to bind only at the time of expanding.

So please let me know the possibilities to achieve the scenario

-Thanks
Chandran Chandran
Top achievements
Rank 1
 answered on 21 Jul 2010
1 answer
205 views
I'm currently converting a working appplication and integrating Telerik into it for a school capstone project.

What I need to know is how do we perform a postBack call on the RadAjaxPanel?

For instance, with MS AJAX I can enter the following Javascript into the head of my page:

<script language="javascript" type="text/javascript">
    function connectLogin() {
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm._doPostBack('UpdatePanel1', '');
    }
    setTimeout("connectLogin()", 10000);
</script>

that code will cause my UpdatePanel to basically refresh!

<div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
           ...  
        </ContentTemplate>
    </asp:UpdatePanel>        
</div>

Any help with this would be great, I've looked over numerous pieces of code on the site here, tried several things and I'm not getting anywhere!

Thanks!
Pavel
Telerik team
 answered on 21 Jul 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?