Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
Hi everyone,

I have come across a very odd scenerio. I made the default document on my sever dashboard.aspx and when I navigate to the site ( http://apps.amortech.ca ) none of the listboxes seem to work but if I define the page ( http://apps.amortech.ca/dashboard.aspx ) everything works fine.

It works in Firefox both ways but none of the others (haven't tested in Chrome)

Has anyone come across this issue before? Im trying to figure out if its in IIS config or in the app.

You can navigate to those 2 pages to see as that is just a prototype.

Thank you for your time.
Genady Sergeev
Telerik team
 answered on 24 Aug 2011
3 answers
134 views
Hi,

I'm new to Telerik, and thus I'm trying out some of your examples to familiarize myself.

I only downloaded the dll's, and added the axd to my existing web.config. Following, I've tried to incorporate a number of different demos into my website. I can make them work on the initial page load, but using paging results in an empty control after pageload. The simplest instance I've tried is:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/simplebinding/defaultcs.aspx

Inserted the exact same RadScriptManager, RadAjaxManager and RadGrid into my aspx, and added the codebehind - only changed the query and connectionstring.

First pageload works, but after trying to go to any other page (there's 50 pages of records), it results in an empty rad grid container:

<div id="phcontent_0_phcontent_0_RadGrid1Panel" style="display: block; ">
  <div id="phcontent_0_RadGrid1" class="RadGrid RadGrid_Default" style="width:97%;"
  <!-- 2011.2.712.35 -->
  <input id="phcontent_0_RadGrid1_ClientState" name="phcontent_0_RadGrid1_ClientState" type="hidden" autocomplete="off">
  </div>
</div>


There are no javascript errors, and the call to Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=phcontent_0_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b

has the content
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
(function() {
      function loadHandler() {
          var hf = $get('phcontent_0_RadScriptManager1_TSM');
          if (!hf) return;
          if (!hf._RSM_init) { hf._RSM_init = true; hf.value = ''; }
          hf.value += ';';                                    
          Sys.Application.remove_load(loadHandler);
      };
      Sys.Application.add_load(loadHandler);
  })();


Does anyone have an idea as to what I'm doing wrong?
Morten
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
131 views
I have a diferents custom skin.

My doubt is:

RadSkinManager accept add in radcombobox custom skin?

Or I need use RadPageStylist control???

Thanks
Tsvetina
Telerik team
 answered on 24 Aug 2011
1 answer
49 views
Hi All,
  I want to integrate ImageProperty Dialog window with Image
I am using Two Tabs
First is using Image and second tab will be "ImageProperty Dialog window"
How the first Tab(Image) Linked with Second tab (ImageProperty Dialog window).

Please help me

Thanks
Prabhakar
Rumen
Telerik team
 answered on 24 Aug 2011
3 answers
91 views
Hi,

I have a radmenu and a radgrid placed in a panel respectively.
When searched with some search criteria, all the results are displayed in the radgrid.

Because of the RadMenu presence above the RadGrid, Radgrid is getting sqeezed.
Other issues that i faced becoz of sqeezing are:
1. When i sort a particular column, instead of an arrow image, i get a box type image beside the header text.
2. Paging number are appearing very close to each other and the paging text is getting displayed below the paging numbers instead of Right bottom corner.

I had tried placing the Radmenu in a separate Div, panel and table but it did not help a bit..., also tried manually adjusting the width and height of the grid, still no use.

When i remove or move the RadMenu control below the grid, RadGrid is getting displayed as expected.
But as per the design i cannot move the Radmenu below the grid.

Could you please help us in fixing this issue...


Thanks in advance
Pavlina
Telerik team
 answered on 24 Aug 2011
5 answers
113 views
I'd like to override the subject textbox and have a listbox there instead. Do I need to use advancedinserttemplate for this? This is the only input field I want to customize. Do I have to explicitly define every field on the insert form if I do it that way. Are there any decent examples of this?

Thanks,
Dan
Plamen
Telerik team
 answered on 24 Aug 2011
1 answer
87 views
I have stumbled upon a very odd bug.  The following are the pertinent details:

  1. You have an aspx web page and on the initial load, you have a hidden display: none div.  
  2. An action is taken by the user, and the div is shown using javascript.
  3. The div that is now shown contains a numeric text box, a rad dropdown, and various other controls.
  4. The contents of this div are all enclosed in an Update Panel.
  5. The dropdown in this div causes an async postback

The scene goes like this:  User loads page, clicks something to show the hidden div, selects a value from the dropdown, the page posts back and populates another dropdown, the user enters a value in the numeric text box, the user clicks submit.  At this point, the page again posts back asynchronously and when the value of the numeric text box is checked, it is Nothing.

If the user enters a value in the numeric text box BEFORE they select a value from the dropdown that causes a postback, the value on submit is accurate.  If the user selects a value from the dropdown that causes a postback, then enters a value in the numeric text box, tabs to the next control, then re-enters a different value in the numeric text box, the value on submit is accurate.  It is only when you select a value from the dropdown which causes an async postback, enter a value in the numeric text box and submit (tabbing out after or not doesn't make a difference) that the value of numerictextbox.value = Nothing


Any help in troubleshooting this issue would be appreciated.  I was using a prior version of the telerik controls, but updated to 2011.2.712.40 and retested, the issue persisted.  

Karl
Vasil
Telerik team
 answered on 24 Aug 2011
3 answers
123 views
Hello

 

I have followed this guide 'Hiding expand/collapse images when no records' on the telerik site and got it working great, but when i change
HierarchyDefaultExpanded="False" then the images dont show when I now there are child rows in the 2nd table.  If i change it to "True" it loads them expanded with the image showing...Does anyone know how i can have it collapsed when first entering the pages but with the images showing when there are child rows?

Many thanks

Iana Tsolova
Telerik team
 answered on 24 Aug 2011
1 answer
176 views
hi,
I need to assign a font color and underline for legend's Text in pie chart

thanks,
Mohamed Taraman
Evgenia
Telerik team
 answered on 24 Aug 2011
1 answer
147 views
I'm migrating several radmenu functions into a radribbonbar.  I have a scenario where I use a radconfirm to intercept a menuclick.  It appears that the ribbonbar doesn't support the .click() method for the buttons.  I could use a javascript confirm, then a .set_cancel() method but I want to use the radconfim if possible.

sample scripts:

var btnclickCalledAfterRadconfirm = false;
var RRB_lastClickedItem = null;
 
function btn_confirmCallbackFunction(args) {
                alert('debug 1');
                if (args) {
                    btnclickCalledAfterRadconfirm = true;
                    alert('debug 2');
                    // this works if this was a radmenuitem object
                     RRB_lastClickedItem.click(); --
                    alert('debug 3');
                }
                else
                    btnclickCalledAfterRadconfirm = false;
 
                RRB_lastClickedItem = null;
            }
 
            function RRB_Btn_OnClientItemClickingHandler(sender, eventArgs) {
 
                if (!btnclickCalledAfterRadconfirm) {
                    RRB_lastClickedItem = eventArgs.get_button();
                    var myText = RRB_lastClickedItem.get_text();
                    //alert('debug: ' + myText);
                    if (myText == 'Clear All') {
                        eventArgs.set_cancel(true);
                        radconfirm("Clear all Alarms?", btn_confirmCallbackFunction);
                    }
                    if (myText == 'Delete All') {
                        eventArgs.set_cancel(true);
                        radconfirm("Delete all Alarms?", btn_confirmCallbackFunction);
                    }
                    if (myText == 'Acknowledge All') {
                        eventArgs.set_cancel(true);
                        radconfirm("Acknowledge all Alarms?", btn_confirmCallbackFunction);
                    }
                    if (myText == 'Clear') {
                        eventArgs.set_cancel(true);
                        radconfirm("Clear selected Alarms?", btn_confirmCallbackFunction);
                    }
                    if (myText == 'Delete') {
                        eventArgs.set_cancel(true);
                        radconfirm("Delete selected Alarms?", btn_confirmCallbackFunction);
                    }
 
                    if (myText == 'Refresh') {
                        //alert('refresh');
                        eventArgs.set_cancel(true);
                        $find("<%= RadAjaxManager1.ClientID %>").ajaxRequestWithTarget('<%= lbHiddenRefresh.UniqueID %>', '');
                    }
                }
                btnclickCalledAfterRadconfirm = false;
 
            }

Simon
Telerik team
 answered on 24 Aug 2011
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?