Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
183 views
Hello,

I have a webpage with a radTabStrip in it which is fully wrapped by an ajax panel.  What I want is for the whole tab strip to do its partial postbacks using that ajax except for the last tab.  If the user clicks on that specific tab, I do not want the ajax to kick in, rather I want to do a full postback and then load that last time.

Using the article found here (http://www.telerik.com/help/aspnet-ajax/ajxexclude.html) I was able to make a button that is displayed on my second last tab to be excluded from the ajax (that button is a "Next" button which correctly calls for a full postback and then the final tab and its info is loaded).  I tried applying the same principle to the tab itself when it gets clicked, but when I debug I can clearly see that the ajax panel kicks in because I can then see the loading panel for a split second and then when the page is done processing, I am looking at the same thing I was before. Neither the tab or the content changes.

Here is the code I used to try to have my tab menu item excluded from the ajax panel:
tabScheduleQueryWizard.Tabs[13].Attributes.Add("onclick", string.Format("realPostBack(\"{0}\", \"\"); return false;", tabScheduleQueryWizard.Tabs[13].UniqueID));

And this is the code I have for the previously described button which works as desired:
btnNextCriteria.Attributes.Add("onclick", string.Format("realPostBack(\"{0}\", \"\"); return false;", btnNextCriteria.UniqueID));

Any ideas?

Yana
Telerik team
 answered on 11 Feb 2010
3 answers
268 views
Hi
I have installed RadControls for ASP.NET AJAX Q3 2009 and also addred reference to the project solution 'Telerik.Web.UI.dll' version 2009.3.1314.35. I can see my controls in design view. I can build and debug the solution to run it fiine.

In the source code ,while I type <te I should be viewing the drop down to list Telerik controls,which I cant view.
Also I get the following warning.

Element 'RadAjaxLoadingPanel' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.

I have my solution in C:\Data\VS8\Source Code\StaffNet. My web.config file is in the right place.

Can you please suggest?

Thank you in advance.
Suchi
Pavlina
Telerik team
 answered on 11 Feb 2010
2 answers
230 views
I have a bar chart that I have dynamically (programatically) bound to a hash table. The binding works ok, but it is putting the Key on the Y axis and the Item on the X axis. Does anyone know how I can reverse the axis?
Velin
Telerik team
 answered on 11 Feb 2010
1 answer
176 views
I would like to be able to dynamically hide and show dock titlebars from client javascript.  Is there any way that I can accomplish this?

Thanks,
--nick
Pero
Telerik team
 answered on 11 Feb 2010
2 answers
150 views

Hi,

 

I am using RadScheduler in my project to display events. I have to display two events per day in month view and I have set VisibleAppointmentsPerDay property to 2 for the same. Now if any day in month has more than two events then it should show it in format +<No. of additional events> more.

e.g. +2more.

RadScheduler has property called ShowMore, but all the days in month shared this property i.e, if I set this property then the text is same accross all the days in month. Is there any way to customize this property, so that it should show different text for different days in month?

Thanks...

Amit Vaidya
Top achievements
Rank 1
 answered on 11 Feb 2010
1 answer
196 views
radopen() function does't work..
undefined is null or not an object 
but when i call the same function in button's onclientclick it works..plz help me...
thx.

<form id="form1" runat="server">
    <div>
        <telerik:radscriptmanager id="RadScriptManager1" runat="server"></telerik:radscriptmanager>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" OnClientClick="check();" />
        <telerik:radwindowmanager id="RadWindowManager1" runat="server">
        <Windows>
      
        </Windows>
        </telerik:radwindowmanager>
    <telerik:RadScriptBlock ID="scrblk" runat="server">
    <script type="text/javascript">

function check()
{
alert("check");
radopen("www.google.com","win1");
}

</script>
    </telerik:RadScriptBlock>
        <asp:Timer ID="Timer1" runat="server" Interval="3000" OnTick="Timer1_Tick">
        </asp:Timer>
    </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        </asp:UpdatePanel>
    </form>

 protected void Button1_Click(object sender, EventArgs e)
    {
         string s = "check();";
         RadScriptManager.RegisterStartupScript(this, this.GetType(), "s", s, true);
        
    }


Georgi Tunev
Telerik team
 answered on 11 Feb 2010
2 answers
182 views
Hi,

I have a checkboxlist inside a radgrid, added inside the templatecolumn. I have provided seperate datasourceID to both radgrid and the checkboxlist.

In the itemdatabound event of the radgrid, I am modifying the datasource for the checkboxlist and pass the relevant parameter in and binding it to the checkboxlist in that row/item. I am expecting the checkboxlists to be populated with different values for each row. However, all of my checkboxes are populated with the same items.

Can anyone help me please?

kind regards,

Anu
Anu
Top achievements
Rank 1
 answered on 11 Feb 2010
1 answer
122 views
I need some help on how to validate a RadTimePicker input with RadInputManager.

 <telerik:RadTimePicker ID="tpPreFirstSurvey" runat="server" /> 

And within the RadInputManager tag:

  <telerik:DateInputSetting BehaviorID="DateInputBehavior3" DateFormat="hh:mm" Validation-IsRequired="true" > 
        <TargetControls> 
            <telerik:TargetInput ControlID="tpPreFirstSurvey" /> 
        </TargetControls> 
  </telerik:DateInputSetting> 

Any suggestions how to validate the time input? Can´t get it to work...

Best Regards,
Jonas
Dimo
Telerik team
 answered on 11 Feb 2010
3 answers
510 views
I am creating RadListBoxes dynamically at runtime. Some pages may have one, some pages may have 5.

My page has a submit button on it. So, when the page is submitted I am looping through all the fields and getting their values to build some xml which I then send to the database. [I am using Request.Form.AllKeys[x] and Request.Form[x] to get the key and the value from each form field. For the RadListBox controls, I want to get ALL the items that they contain]

How do I get the values (RadListBoxIItems) that are in each list box?

I have not been able to find an example of this sort of "manual" retrieval of the items in a list box.

Thanks for whatever advice you can offer.

UPDATE:
It looks as if this post might offer a way to get the values. I appears I can deserialize the client state of the RadListBox using an RadListBoxClientState object. However, I can't find where that is defined. The thread says that I just need to import Telerik.Web to use it but, that doesn't appear to work. Is this object still available. I will continue searching.

Genady Sergeev
Telerik team
 answered on 11 Feb 2010
1 answer
200 views

Good afternoon All,
I'm implementing a RadNumericTextbox for a timesheet entry page where the users are required to enter their time in half hour increments. 
I've tried attaching a RegularExpressionValidator to the control which has it's ValidationExpression set to "^\d+\.[05]$". 
I would expect an error on anything not ending with a 0 or 5.  I can't get this to accept an entry ending in a 0 (like 1.0 or 3.0).  It accepts entries ending in .5, as expected.

If I set the ValidationExpression to "^\d+\.[12]$", it catches anything that doesn't end with a 1 or 2 - as I would expect.

Is there something about an entry ending in 0?

Here's the aspx for the Textbox

 

 

<telerik:RadNumericTextBox ID="numtxtMonday" runat="server"

 

 

ButtonsPosition="Right"

 

 

EnabledStyle-HorizontalAlign="right"

 

 

IncrementSettings-Step="0.5"

 

 

InvalidStyle-ForeColor="red"

 

 

MaxValue="24" MinValue="0"

 

 

NumberFormat-DecimalSeparator="."

 

 

NumberFormat-DecimalDigits="1" NumberFormat-GroupSeparator=""

 

 

NumberFormat-AllowRounding="true"

 

 

ShowSpinButtons="true" Type="Number" ValidationGroup="saveTime"

 

 

Width="75px" Value="0.0" >

 

 

</telerik:RadNumericTextBox>

thanks!

 

Sheryl

 

 

 

 

Dimo
Telerik team
 answered on 11 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?