Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
286 views
how to format the pdf export data
Princy
Top achievements
Rank 2
 answered on 11 Mar 2009
1 answer
103 views
Hello,
In my project i used RadMenu.
But how to use CSS and separator in this menu?

Please give me code.

Regards,
Apeksha
Princy
Top achievements
Rank 2
 answered on 11 Mar 2009
3 answers
178 views
I am trying to build a rotator via VB and cannot figure out how to set the ItemTemplate property. Any suggestions would be appreciated.
Fiko
Telerik team
 answered on 11 Mar 2009
2 answers
96 views
I have an asp button and on button click i am doing as below:

ScriptManager.RegisterStartupScript(Page, Page.GetType(), "openFaultWin", "javascript:openWindow();", true);

but it is not finding the window object.

 

 

function openWindow()
{
szUrl =

"Add_Fault.aspx?header=" + szHeader + "&stage=" + szStage + "&serial_no=" + SerialNo.value + "&insp_id=" + inspectionStageId;

 

oMailWnd = window.radopen(szUrl,

"faults");

 

oMailWnd.setSize(800, 600);

oMailWnd.moveTo(0, 0);

oMailWnd.set_modal(

true);

 

oMailWnd.add_close(OnWindowClose)

oMailWnd.show();
return false;

}

please help...


Thanks & Regards
Brijendra Pandey

Fiko
Telerik team
 answered on 11 Mar 2009
1 answer
150 views
Hi.
I'm using TreeView 2007 on my page. I wrote this code in my javascript function :

var

treeView = $find("<%= MyTree.ClientID %>");
but this but when the code runs, this error appears:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
I've tried this code too:
var tree = $find("MyTree"); 
but this error appears:
Microsoft JScript runtime error: Object expected

What's the reason ? Is it because of the old version or not ?

 

Shinu
Top achievements
Rank 2
 answered on 11 Mar 2009
2 answers
291 views
I have problem here with the Rad Ajax panel.

I get the javascript error stating : "Object doesn't support this property or method" and another one "unifined is null or not an object"
Here's my code:

'VB code
Try
            'some code here

        Catch ex As Exception
            'open radwindow and inform user to select a project first
            Session.Remove("Project_ID")
            Dim script As String = ""
            script += "radconfirm('Please select a project first. Select project now?',confirmCallBackFn,  330, 100,'','No project selected'); "
            RadAjaxPanel1.ResponseScripts.Add(script)
        End Try

'Java script
         function confirmCallBackFn(arg) 
         {
             var Redirect = document.getElementById("<%= HiddenField1.ClientID %>");
             Redirect.value = arg;
             document.forms(0).submit();
         }
         function redir(Project_ID)
          {
             window.radopen("AIMS_frmBlock_Tasks.aspx?Project_ID=" + Project_ID, "RadWindow1");
             return false;
         }         
      
      </script>

My code looks for an Session_ID, if it doesn't find it, it pops up a Radwindow that ask to select an ID, then it redirects to the page accordingly
It has worked with prev. version of telerik, but now that I've installed prome..it gave me this error.
This initiate when the page loads,so I have no button that init. the request
Frans Delport
Top achievements
Rank 1
 answered on 11 Mar 2009
4 answers
99 views
Hi. I want to know how could I change the view, from weekly to daily by clicking on one header column of the weekly view.
I mean, if I'm at the weekly view and I click , for example, at the header column '02/18/2009', I want to show the daily view for that day.

Thanks a lot!

Fernando
Simon
Telerik team
 answered on 11 Mar 2009
2 answers
161 views
Hello,

I am having small problem with GridHyperLinkColumn. The datas are by default underlined and I don´t want them to be like that.
I have created a skin file where I have written characteristics for datas of Gridview but I haven´t got how to delete underline for datas which are hyperlink.

I have tried this:
      <telerik:GridHyperLinkColumn DataTextField="Código" NavigateUrl="fweDetails.aspx" SortExpression="Código">
            <ItemStyle Font-Underline="false" />
      </telerik:GridHyperLinkColumn>

and it is not working.

Any idea how to do it?it is not necessary to be by using a skin file.

Thank you in advance.
Patxi
Top achievements
Rank 1
 answered on 11 Mar 2009
1 answer
146 views
I have an image button, image control, google map, and RadAjaxManager on the same page. the RadAjaxManager  looks like the code block below. if i remove the gmap the code works. if i leave the gmap and remove the telerik controls the gmap works. adding both causes an Acess Denied error in the OnReadyStateChange function.... A little guidance is requested because i need both of these controls on the page... the GMap control is from subgurim and is only a wrapper for the google map api.

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="ImageButton1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="img_mainimage" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/site/glyphs/marker.gif" />

 

 

<asp:Image ID="img_mainimage" runat="server" Width="586px" Height="390px" />

 

 

 

 

 

<subgurim:GMap ID="GMap1" runat="server" />

 

Iana Tsolova
Telerik team
 answered on 11 Mar 2009
1 answer
92 views
We have a multi culture applicaiton. The design has custom controls that inherits from RADcontrols. One of them is the RADDateInput control.

We attempted to change the culture. We modified the culture of the field from "en-US" to "zh-CN". The dates were automatically displayed in new culture. One abberation I noticed. In US culture following text entered was displayed correctly

Entered Text
3 Feb                --> 2/3/2009 (US Culture)
3 Feb                --> 3/3/2009 (CN Culture).

I tested it on the demo site and the Culture works for the entered text for "US"/"Germany" but for french I noticed the same behaviour described above.

Am I  missing something here?

Ravi
Pavlina
Telerik team
 answered on 11 Mar 2009
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?