Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
169 views
Hi,
When we adde new menu tile to nav bar(Which is fixed size), The newly added item pushed to second line.
To fix this we decreased text-indent property to "-7px" from "4px" which was worked in IE8 and chrome but not in firefox.
How to fix for all browsers?, below is CSS of navbar

#navbar {
    display: block;
    background-repeat: repeat-x;
    height: 40px;
    /*width: 510px;*/
    width: 510px;
    text-indent:4px;
}
Kate
Telerik team
 answered on 31 Dec 2013
4 answers
327 views
Hello, 
I am using a GridDateTimeColumn and using a different DateTimeFormat.

<telerik:GridDateTimeColumn HeaderText="My Date>"
    DataField="MyDateTime" PickerType="DateTimePicker" DataType="System.DateTime"
    UniqueName="MyDateTime" GroupByExpression="MyDateTime Group By MyDateTime"
    DataFormatString="{0:dd/MM/yyyy hh:mm tt}" FilterDateFormat="dd/MM/yyyy hh:mm tt" EditDataFormatString="dd/MM/yyyy hh:mm tt"
    AllowFiltering="true" AllowSorting="true">
</telerik:GridDateTimeColumn>

In my filter menu I get a different format. Is there a way to fix it without using server side functions? If it cannot be only using client side(using the markup(not javascript)) what is the solution from server side?

Thanks
Konstantin Dikov
Telerik team
 answered on 31 Dec 2013
10 answers
509 views
Hi,
There are so many inline-styles rendered so it's almost impossible to style it as I wish.
Is there some way to remove all the inline-styles and only use custom css classes?
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2013
5 answers
165 views
Hi I write because i'm facing a very strange issue, the rad RadDatePicker is working correctly when I place it outside a table, but when I put it inside the table it does'nt have any skin.

I have removed all of the styles in the table with no success, I'm working in dot net nuke and the version of my controls is Telerik.Web.UI v.2011.1.315.40.

I'm attaching an image that shows the problem

I've properly set the skin to vista and i'm not usign custom skins. just leave the control as it is after I dragged it from the toolbox.

THIS ISSUE ONLY HAPPENS IN IE9, NOT IN CHROME

More info: This issue doesn't happen if the panel in wich is the datepicker is visible from the beggining. 
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2013
1 answer
187 views
I have a radbutton in ItemTemplate of RadListView. I have defined  ClientDataKeyNames="ID" 
Now how do I get the  ClientDataKeyValue "ID" onClientClicked of radbutton? Is it possible to get the index of the ListviewITem on clientside javascript

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2013
1 answer
163 views
Hi Gurus,

 I am using RadNotification,when clicking submit button the notification window is displaying with success message.
here the issue is when pressing f5,RadNotification window is displaying again.
I am using RadNotification1.VisibleOnPageLoad = false on page_load event. but still the notification window is opening.

How to resolve this.

Thanks in Advance,
  Prasanth

 
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2013
3 answers
91 views
I'm using RadNumericTextBox and RadDateInput controls in a page that has more controls than can fit on the page, and when I scroll the page using the mouse wheel, those Telerik controls remain on their location without scrolling. Does it have to do with the ability to scroll inside those controls?

How do I fix it, is there any way of disabling the mouse wheel for those controls?

Thanks
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2013
1 answer
164 views

In the design time, I set the CssClass property to "red"

After some event, I try to set it to "yellow", but it doesn't work.



I tried:

TxtAmount.CssClass = "yellow";

Also

TxtAmount.CssClass += TxtAmount.CssClass.Replace("red", "yellow");

plus other ways








A2H
Top achievements
Rank 1
 answered on 30 Dec 2013
2 answers
603 views
Custom paging works great, I have about 400,000 rows, so I just return 100 from sql server when I change pages, using the need_datasource event.  Now it's going to get a bit more complicated when I have 8 different items I can sort or filter.

I basically need to get the filter and convert that filter and sorting into the sql statement that I use to query the database.

I also basically have to make 2 queries to get the VirtualItemCount.

I'm basically doing a  "select ROW_NUMBER() OVER"  to make my row numbers and only getting the range of row numbers I want.  SQL Server 2012 has a fetch(I have 2008) and I saw there's a more effecient way than ROW_NUMBER() OVER, but this is easy for me to manipulate.  My main concern is CPU and memory on the webserver, so getting back just the number of rows in the page is the most important.

I'm guessing this is the best way to do it. (I'm not going to use entity framework).

I think the hard part is me translating the filters and sort orders to my sql statement.  I was wondering if there was an example like this.  No big deal if there isn't, I don't think it will be a big deal to do it, but I was wondering if maybe there was some code out there that already existed.
danparker276
Top achievements
Rank 2
 answered on 30 Dec 2013
2 answers
219 views
I need to provide accessibility cues for the textbox of the standard column filter. It looks like I could do this using a FilterTemplate which has a hidden asp:Label with its AssociatedControlId set to an asp:TextBox. However, I would then have to implement all the filtering myself rather than using what the grid provides.

Is there a way to associate a tool tip or something with the textbox provided by the standard filter? Can I somehow access the standard filter's text box?

Thanks.
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 30 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?