Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
161 views
I am using Telrik Radscheduler. I want to generate html or Pdf from a selected week view RadSchedule where all the scheduled appointment will show like the RadScheduler. If it is possible please let me know how I can do this.
Peter
Telerik team
 answered on 09 Aug 2010
9 answers
221 views

Hey guys.  I've taken a couple of stabs at this problem without too much luck yet.

Our scenario is a RadSplitter with two panes, left and right, with a dockable left hand RadSlidingPane hosted inside a MasterPage with the Content in the right hand pane.  The desired behavior is that, as a user would resize or dock the left hand side, that its state is persisted across postbacks and pages.  Since the resize events are not server events, we can't do any actual server processing on resize, so that only leaves client side methods.  We've tried cookies, but it seems as though, when moving from page to page, the cookies are duplicated from time to time so that we get page-specific cookies for the Request instead of only ever having one cookie there.  And, since there are now no client side methods that set the widths of anything other than the splitter, I don't see many other options left.

What solutions do you have for this set up?  

Thanks a lot,

Adam.g
Michael Pullella
Top achievements
Rank 1
 answered on 09 Aug 2010
10 answers
621 views
I am having an issue with the z-index for this control when I call a RADWindow using RADWindow Manager.

The RADMenu is located in the master page and the WindowManager is located within a user control that is called when the select command is called.  I have the z-index for the Menu set to 29000 in the masterpage along with the z-index for the WindowManager in the user control which is set to 3000.

Please see the attached screen shot to see what is happening. 

Any ideas, or am I doing something totally wrong?
Matt Frank
Top achievements
Rank 1
 answered on 09 Aug 2010
2 answers
118 views
Hi,

Normally when you create a new appointment, the cheduler opens the InlineInsert form and the user can then create the new appointment.

Is it in any way possible to open the new appoinment directly in the AdvancedForm mode instead?

And

Can I programmatically open an allready created appointment in the AdvancedForm mode?

Thankyou
Rune
had
Top achievements
Rank 1
 answered on 09 Aug 2010
2 answers
266 views
Can you provide a runnable web page for this?

http://blogs.telerik.com/hristodeshev/posts/07-03-26/debugging_asp_net_2_0_web_resources_decrypting_the_url_and_getting_the_resource_name.aspx

I am doing a response.redirect in the page when I see this error in Fiddler.   IE client does not receive error, just in Fiddler.

2010.2.722.35  IE8, XP x86 VS2008

/WebResource.axd?d=OPZw5rj7cRd1-hon59bUqZSBmdd6GFQ_M6Jqx8mEjJr1qTKZ-V7lJ-1Kooodt1TUv-19zYD5PFm-6_nFjALOIbVI7XPEg1Lms0zblNzJYEE1&t=634153179600000000 HTTP/1.1

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /WebResource.axd

[HttpException]: This is an invalid webresource request.
   at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Lenny_shp
Top achievements
Rank 2
 answered on 09 Aug 2010
1 answer
147 views
I am have a scenario were a subgroup header is being created for a group that has no sub groups.
for example

I have 2 departments A and B and department A has two classes 1 and 2 each of those classes has a morning afternoon and evening offering.

I am trying to group the data accordingly

Department A
     Class 1
          Morning
          Afternoon
          Evening
     Class 2
          Morning
          Afternoon
          Evening
Department B


The problem is that in the Grid view I get an empty group-header-row for the Class subgroup and then another empty row beneath that for not having any offerings listed below it. I need the 'Department B' group-header-row to show up because it links to the department but if the department has no classes no group-header-row should be created. How can I get this to happen.
Maria Ilieva
Telerik team
 answered on 09 Aug 2010
0 answers
106 views
I have a RadGrid in edit mode with GridBoundColumns and GridTemplateColumns.

The GridBoundColumns turn into a textbox and the GridTemplateColumns contain one item - a validator, which is associated with the previous boudncolumns.

In the old days, the validation columns only took up space if the validator was active. Now the empty columns always take up space which is causing an unsightly gap between textboxes.

What is the best way to fix this gap? I want the column width to be 0 if there's no items inside it.

Note that i tried to turn off the columns' visibility when there were no active validators in any of its rows but that caused problems during callback. The coulmn's visibility wasn't restored when turning visible to true. 

edit:
Answer - the "bug" happened because I was toggling the columns' visible property. I should have toggled the Display property. Turning the visible property false then true causes issues. Turning the Display property false then true does not.
Jeffrey Sylvan
Top achievements
Rank 1
 asked on 09 Aug 2010
3 answers
73 views
Hi,

I want to add my custom text/content or control at runtime in each of the appointments.

In bottom of every description I want to show an edit button which will take user to some anohher page.

Kindly suggest how to achieve this.

Thanks
Ajay Shama
Peter
Telerik team
 answered on 09 Aug 2010
1 answer
225 views
Hi,
I have a databound RadPanelBar  and I want call a javascript function  on clicking one of the RadItem.  I used "OnClientItemClicked" but it did not help. Any Idea why it is not working and how to fix it?

DataBinding:
           RadPanelBar1.DataSource = dt;
            RadPanelBar1.DataFieldID = "ID";
            RadPanelBar1.DataFieldParentID = "ParentID";
            RadPanelBar1.DataTextField = "Label";
            RadPanelBar1.DataValueField = "KeyInCommand";
            RadPanelBar1.DataBind();



protected void RadPanelBar1_ItemDataBound1(object sender, RadPanelBarEventArgs e)
    {
        RadPanelItemCollection radItems = RadPanelBar1.Items;
        AttachClientEventtoRadItems(radItems);
    }


 private void AttachClientEventtoRadItems(RadPanelItemCollection radItems)
    {
        foreach (RadPanelItem radItem in radItems)
        {
            string itemValue = radItem.Value;
            if (radItem.Controls.Count == 1)
                  AttachOnClickEvent(radItem);
        }
    }

private void AttachOnClickEvent(RadPanelItem radItem)
    {
        string itemValue = radItem.Value;
        if (string.Equals(itemValue, "ZOOM_PREVIOUS", StringComparison.CurrentCultureIgnoreCase))
        {
            //String csname1 = "PopupScript";
            //String cstext1 = "<script type='text/javascript'>" + "function DoClick() { Map_Map1.ZoomToPrevousExtent(); alert('added'); return false; }</" + "script>";
            //NextGenProject.ParentPage.RegisterClientScriptBlock(csname1, cstext1);

            radItem.Attributes.Add("OnClientItemClicked", "OnClientItemClicked");
        }
    }

JavascriptFunction :
function OnClientItemClicked(sender, args) {
    Map_Map1.ZoomToNextExtent();
    alert("Button Is Clicked");
}    

Nikolay Tsenkov
Telerik team
 answered on 09 Aug 2010
0 answers
121 views
Hi everybody !

I am confronted to a problem with previous/next buttons of my browser.

Indeed, when the user click on previous and then next button of the browser, Page_Load isn't called another time, so my treeview is broken.

When the user arrives on the page with the treeview, it isn't visible. The user needs to click on a button, then it makes a process in order to get values to put in the treeview.  During this process I make some tests like this one :
if (!treePanel.Visible)
                    return;

or

if (radTreeView.Nodes.Count == 0)
                        showCurrentPerim();

And I realized that when user clicks on next button, radTreeView.Nodes.Count > 0 so this makes my process wrong :(

In mozilla, the first time I click to display the treeview, nothing happens. Second time, it displays the treeview withou checkboxes and I need to refresh page to make it work again.

In IE7, the first time I click to display the treeview, nothing happens. Second time, it shows me a javascript error :
An error occured.
Do you want to debug ?
 
Ligne : 1223746
Error : 'Telerik.Web.UI.RadTreeView' is null or is not an object
I need to refresh.

I think that the best solution is to catch the event when user clicks on next browser button and then to refresh page. The problem is that it doesn't call Page_Load...

Please give me some solutions :)

Thanks
Jean
Top achievements
Rank 1
 asked on 09 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?