Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
203 views
How do I implement vertical scrolling text using ticker or rotator? I want to load each line item one by one on a button click.


for (i=0; i<=5; i++){
 
 
if (i==1){
Show Line 1
}else if(i==2){
Show Line 2
}
 
 
}
Slav
Telerik team
 answered on 04 Jun 2012
6 answers
330 views
I'm getting a javascript error when a RadDatePicker uses a shared calendar AND is set to autopostback.  It only happens the second time a date is selected and only if the month is changed using the arrows or the month picker.  We're using version 2011.1.519.40.

Steps to reproduce:
1. DatePicker with shared calendar and autopostback = true
2. Click the calendar button and choose a date in the default month.
3. Click the calendar button again, click the right arrow to change to the next month, and then select a new date from that month.

The error I'm getting in the Firefox Error Console is "b is null."  Clicking the link in the error console to Telerik.Web.UI.WebResource.axd shows a highlight on "},_setStyleToRenderedDate:function(b,c){b.IsSelected=c;"  

I can work around this by not using a shared calendar but do you have any ideas?  I recreated the issue in the sample VS2010 website but I can't attach a zip file here.
Nino
Top achievements
Rank 1
 answered on 04 Jun 2012
0 answers
86 views
EDIT: I think the solution in the existing post on this topic will work.



Jeff
Top achievements
Rank 1
 asked on 04 Jun 2012
1 answer
119 views
hi
i am trying to  remove subject field from Advanced form but i am not finding any way out of it.
can anyone tell me how can i do it?
Peter
Telerik team
 answered on 04 Jun 2012
1 answer
140 views

I have a working ajaxified grid to which I'm adding new PDF/Excel export capability. In the ItemCommand event I'm setting boolean isPdfExport or isExcelExport. It loops through ItemCreated and ItemDataBound for all expected items. It goes through PreRender for the Page and PreRender for the grid.

But then the web page with the grid re-renders.

There is no export. and the re-rendered page no longer includes the command buttons.

This is a nested page a user control containing a tab/multipage, and one of the pageviews containing a usercontrol that has this grid.

Now this might be silly but in the event handlers I specifically just tell it to return once I know we're exporting. Do I need to manually set the columns? For example:

if (isExcelExport)
{
    if (e.Item is GridHeaderItem)
    {
    }
    if (e.Item is GridDataItem)
    {
    }
    if (e.Item is GridFooterItem)
    {
    }
    return;
}

The exact same behavior is seen for IE9 and FF12.

Using the very latest build of the controls.

Thanks!

Marin
Telerik team
 answered on 04 Jun 2012
2 answers
127 views

Please can someone provide some guidance on why the following is not working.

<telerik:RadNumericTextBox ID="lnVoltage" runat="server" Label="Voltage (V): " Width="160" ToolTip="Three phase voltage" MinValue="0" MaxValue="1000" Value="400" NumberFormat-DecimalDigits="0"  DataType="Double" ShowSpinButtons="true" >
<ClientEvents OnValueChanged="singlePhVoltage" OnLoad="singlePhVoltage" />
</telerik:RadNumericTextBox>
 
      <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
            <script type="text/javascript">
            <!--
                function singlePhVoltage(sender, eventArgs) {
                    alert("in function");
                }
            -->
            </script>
        </telerik:RadCodeBlock>

 

When I change the textBox value the function is not being called.  Have tried several things.

Steven
Top achievements
Rank 1
 answered on 04 Jun 2012
1 answer
230 views
Hello,
If an user uploaded wrong appointment(start time is greater than End time) then how we will handle this on our web page. It is showing Error page. How we bypass these appointment.
Peter
Telerik team
 answered on 04 Jun 2012
2 answers
201 views
Hello,
I have a hierarchy grid with one nested level.
I'm having some issues with HierarchyLoadMode setting set to Client on my grid.
I load my grid on during Page_Load event, and it is loaded without any issues.
After that, the event to load the DetailTable is called:
protected void RadGrid1_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)
        {
           GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;
           string paramID = dataItem.GetDataKeyValue("Param_Id").ToString();
            string sConnectionString = "My Connection String";
  
            SQLDataSource1.SelectParameters["ModelIdParam"].DefaultValue = paramID ;
                SQLDataSource1.ConnectionString = sConnectionString;
                  
                e.DetailTableView.DataBind();
        }
I get an exception - +  ex {"Invalid attempt to call FieldCount when reader is closed."} 

I am not sure what I'm doing wrong, because if I don't set hierarchyModeLoad to Client, the exact same code runs without any issues, and I can expand/collapse the rows.

I would appreciate any help.
Vinit
Top achievements
Rank 1
 answered on 04 Jun 2012
3 answers
62 views
Whenever I point to appointment by mouse, the error for get_allowdelete raise. How can I fix it?
Peter
Telerik team
 answered on 04 Jun 2012
1 answer
233 views
Hello,

Recently I have migrated our development evironment over to IIS 7 on Windows 2008 from IIS 6 on Windows 2003.  Everything seemed to be working fine at first.  However, I noticed when I tested the website on a workstation when logged on as a user without internet access, the site continues to get a 'Telerik' is undefined error message.  Using Fiddler, I was able to see the problem is there are calls to the following websites, aspnet-skins.telerikstatic.com or aspnet-scripts.telerikstatic.com.  Becuase this user does not have internet access, these calls are failing with HTTP 502 errors and causing issues with all the Telerik controls.

Is there something that needs to be done to avoid these external calls from being made so users without internet access do not have this issue and the site/controls are displayed properly?

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 04 Jun 2012
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?