Amir Mirkamali RSS 2.0
 Monday, February 07, 2011

The key is that you must add the all radiobuttons to your radajaxmanager updated controls. somthing like this

ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, ddl, pnlLoading);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, rbtn2,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn1, rbtn1,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, ddl, pnlLoading);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, rbtn2,
null);
ajaxManager.AjaxSettings.AddAjaxSetting(rbtn2, rbtn1,
null);

This will solve the problem. because after every postback all the dropdowns must updated.

Monday, February 07, 2011 7:55:46 AM UTC  #    -
.Net 4.0 | C# | Telerik Controls
 Tuesday, January 12, 2010
To load types in other assembly just add the assemblyname via comma at the end of your type:
Type mytype = Type.GetType("Class2, Project2.Library "); 
for nested class you must put plus (+) instead of dot (.):
Type mytype = Type.GetType("Class2+SubClass1, Project2.Library "); 
 
Tuesday, January 12, 2010 5:50:46 AM UTC  #    -
ASP NET 2.0 | C#
 Sunday, November 16, 2008

Add your code in button click add this code (replace your link in the code)

 private void btn_Click(object sender, EventArgs e)
{

.....

 StringBuilder script = new StringBuilder();
script.Append("<script>");
script.AppendFormat("window.open('{0}', '', '');", link);
script.Append("</scri");
script.Append("pt>");
Page.RegisterStartupScript("opennewwindow", script.ToString());

.....

}
Sunday, November 16, 2008 3:03:06 PM UTC  #    -
C#
public DataView GetTopDataViewRows(DataView source, int count)
{
    DataTable output = source.Table.Clone();
    for (int i = 0; i < count; i++)
    {
        if (i >= source.Count)
            break;
        output.ImportRow(source[i].Row);
    }
    return new DataView(output, source.RowFilter,     source.Sort, source.RowStateFilter);
}
Sunday, November 16, 2008 3:02:15 PM UTC  #    -
C#
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

استفاده از مطالب سایت با ذکر منبع آزاد است

© Copyright 2012
Amir Mirkamali

Statistics
Total Posts: 40
This Year: 0
This Month: 0
This Week: 0
Comments: 1
Themes
All Content © 2012, Amir Mirkamali