Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
149 views

Hi,

Is it allowed to include stylesheet classes inside @media and use them from Apply CSS Class Dropdown?

For example: 

@media screen {
  .test1 {
    background: red;
  }
  .test2 {
    background: blue;
  }
}
  .test3 {
    background: green;
  }
  .test4 {
    background: yellow;
  }

Why are there two different behaviors in Internet Explorer and Chrome/FireFox? Is it a bug?

Result in Internet Explorer: 

Apply CSS Class dropdown list has test1, test2, test3, test4 items. 

Result in FireFox and Chrome: 

Apply CSS Class dropdown list has only test3, test4 items. 

Ivan
Top achievements
Rank 1
 answered on 18 Jul 2012
5 answers
233 views
Hi Telerik Team,

I hav a Radsplitter declared below


<telerik:RadSplitter ID="RadSplitter" runat="server" Height="100%" Width="100%" OnClientLoad="SplitterLoad" VisibleDuringInit="false" ResizeWithBrowserWindow="true">
  
    <telerik:RadPane ID="RadLeftMenuPane" runat="server" Width="22px" BackColor="#efefef" Scrolling="None"
  
<telerik:RadSlidingZone ID="RadLeftMenuSlide" runat="server" Width="22" DockedPaneId="RadConfigurationMenu" 
  
 BackColor="#0b497b" SlideDirection="right"
  
 <telerik:RadSlidingPane ID="RadCommonLeftMenu" runat="server" Title="Menu" CssClass="RadSlidingPane" Overlay="true"
  
 </telerik:RadSlidingPane
  
</telerik:RadSlidingZone>
</telerik:RadPane>
  
<telerik:RadPane ID="RadMiddlePane1" runat="server" Scrolling="None" Width="100%" Height="100%">
  
<telerik:RadSplitter ID="Radsplitter2" runat="server" Orientation="Horizontal" VisibleDuringInit="false">
  
<telerik:RadPane ID="Radpane2" runat="server">
  
<div id="pagecontent" class="PageContent" style="height: 100%">
  
<iframe frameborder="0" runat="server" width="100%" id="Frame" src="LandingPage.aspx">
  
</iframe
  
</div>
  
</telerik:RadPane>
  
</telerik:RadSplitter>
  
</telerik:RadPane>
  
</telerik:RadSplitter>


In pageload i am loading RadLeftMenuSlide

 

Protected void Page_Load(object sender,EventArgs e)
{
LoadUserControl();
}
  
private void LoadUserControl()
  
{
  
_leftNav = (LeftNavigation)LoadControl(_topPath + LEFT_NAV_FILE_PATH);
  
_leftNav.ParentMenuItem = Module;
  
RadCommonLeftMenu.Controls.Add(leftNav);
  
RadCommonLeftMenu.Visible = true;
  
}

in the LeftNavigation usercontrol i hav one link button called "LeftlinkbuttonwithParameters".  if i click on "LeftlinkbuttonwithParameters" link button im redirecting to Landingpage.aspx

 

"javascript:Redirect('" + Request.ApplicationPath + "Landingpage.aspx');"

Now if i click on LandingPage.aspx page i am loading iframe

now in iFrame(LandingPage.aspx) i have button called btnEnablewithParameters

if i click on the btnEnablewithParameters button i am having having Mode="Edit",
 my Left slidingpane RadLeftMenuSlide is loading and i am enabling "LeftlinkbuttonwithParameters" link button

Now if i click on "LeftlinkbuttonwithParameters" link button i should redirect to LandingPage.aspx with Parameter "javascript:Redirect('" + Request.ApplicationPath + "Landingpage.aspx&Mode=' + "Edit");"


Please let me know if you need more clarification regarding above query

Thank you
Shaik Nazeer Hussain.

Martin Roussel
Top achievements
Rank 1
 answered on 18 Jul 2012
5 answers
241 views
Hi,

I have the same scenario as http://www.telerik.com/community/code-library/submission/b311D-bkbkkd.aspx except that i have the grid inside a radtabstrip.

pseudo:

<splitter>
  <pane>
    <tabstrip>
      <multipageview>
        <pageview1>
        <grid>
     
if i do what's in the link, it works except that the paging and a little bit of a row is missing at the bottom. The reason for this is that the tabs [ blah ] [blah2] takes up a height. If i use firebug to remove the tabs, it displays correctly.

Any solutions to this? Thank you

Regards
Kjartan
Galin
Telerik team
 answered on 18 Jul 2012
0 answers
80 views

Hello, all! I had a problem with RadTabStrip. I create a Tab on the client-side by means of a method:

            function addNewTab(id) {
                var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
                var tab = tabStrip.findTabByValue(id);
   
                if (!tab) {
                   tab = new Telerik.Web.UI.RadTab();
                     var tabName = "Message â„–" + id;
                   tab.set_text(tabName);
                   tab.set_value(id);
                   tabStrip.trackChanges();
                   tabStrip.get_tabs().add(tab);
                   tabStrip.commitChanges();                            

                       var multiPage = $find("<%= RadMultiPage1.ClientID %>");
                   var pageViewId = multiPage.findPageViewByID("<%= pageViewDetal.ClientID %>");
                   tab.set_pageViewID(pageViewId._id);
               }
               tab.set_selected(true);
              }

Everything is created correctly (i.e. the Tab is created, the value transferred by me is specified for it and PageView is attached to it) but as soon as on page there is PostBack, all created Tabs are cloned, i.e. each Tab created by me has 2 clones, but without the specified value and not attached to PageView, and Tab with the same title is simple.

Creation of clones occurs without the aid of my function. You couldn't prompt the reason of such behavior of the RadTabStrip component and how it is corrected?

Kazakov
Top achievements
Rank 1
 asked on 18 Jul 2012
1 answer
78 views
Hi,

We have existing web tool designed and developed with ASP.Net 3.5 framework and Telerik Rad Ajax control ( like telerik Rad Ajax control ( Rad Grid , Model Popup,RadTreeView)  we are using Telerik.Web.UI dll with version (2009.1.311.35), 
we wanted to run our tool on different plat forms like Android, I phone and other Smart clients.
Can you suggest what would be the best way to do?
Peter
Telerik team
 answered on 18 Jul 2012
8 answers
280 views
I want to create a sprite to use with the left menu item image, there is no class for left menu image or left menu image hover. Now I can add a image with image url property but i have 35 links and thus 35 calls to the server for the individual left menu items images alone. I would like to reduce that to one call to a sprite for all left menu items using css.
How can this be done?
Thanks
Don
Martin Roussel
Top achievements
Rank 1
 answered on 18 Jul 2012
3 answers
258 views
Hello,

I need some advice on what control i need to use to organzie my grids and other controls.. I want 2 grids side by side but i seem to beunable to do this. Whats the best way to organize controls?
Shinu
Top achievements
Rank 2
 answered on 18 Jul 2012
5 answers
122 views
Hi All,

I am using a radrating nested on a repeater control. Everything works fine in Firefox, but when viewing the same page in IE, the rating control doesnt show.

Has anyone seen this issue before?

Iain
Niko
Telerik team
 answered on 18 Jul 2012
1 answer
132 views
Dear Sir/Madam,
Am using RadChart control to display data. Image size which is being generated in chart control is around 12KB to 13KB. As am using 60 chart control in page and i need to upload these images along with some text to pdf. Now am getting pdf file with size around 500 KB, which is not suitable for my requirement.

Is there any way to reduce chart image size (5 or 6 kb) which is generated in Chart Control ?

Thanks in advance

Thanks,
Sumanth
Petar Marchev
Telerik team
 answered on 18 Jul 2012
1 answer
177 views
Hi,

Just a question which has been bugging me regarding the AjaxControlID with a Pop Up Window refresing the Parent Grid
I've always used this method http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

to refresh the Grid in the Parent. The point here is that in order to have the RadGrid to be refreshed, we need the Initiator ( AjaxControlId to be that of the AjaxManagerProxy ) with the AjaxRequest ( Since the ajax is called client side in the RefreshGrid() js in the parent)

However, it sounds like any ajax request done will always refresh the RadGrid, is it the case?
May be I'm missing something because I dont understand it correctly but Initially I thought I should restrict the initiator to be the lowest denominator ... hence the RadWindow Control ID.

Similar to If I have a button or DDL which causes a partial post back, I would put the ID of the button or DDL. WHy putting the ID of the Window Control does not trigger the Refresh of the Grid?

 Also let's assume I have 2 AjaxSettings; (RadAjaxManagerProxy1, grdList) and (cmdMyDropDown, rptAnotherList) declared in the mark up. Does it mean when cmdMyDropDown causes an ajax request, it will update both the grdList and rptAnotherList ?


Thanks 

 

Maria Ilieva
Telerik team
 answered on 18 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?