Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
62 views

Hello Every body
I have to Create google-like filtering for each grid spesific column.My Grid is all the row's are in edit mode.  Now this Google-like filtering is done with norman RadComboBox(See below).I think this not really best possible way to do it.
 <telerik:GridTemplateColumn UniqueName="Product" DataField="Product"    
      HeaderText="Tuote/Lisätietoa"
                                 
     <EditItemTemplate> 
       <telerik:RadComboBox  MarkFirstMatch="true" ID="ProductCombo" Runat="server" Width="100%" DataValueField="ProductID" LoadingMessage="Ladataan.." AllowCustomText="True" EnableLoadOnDemand="True"  
                                                onclientitemsrequested="OnClientItemsRequesting"  
                                                    onitemsrequested="ProductCombo_ItemsRequested" ShowToggleImage="False" ShowDropDownOnTextboxClick="False"  
                                                    CollapseAnimation-Duration="200" > 
                                                    </telerik:RadComboBox> 
                                          
                                           
                                     
                                </EditItemTemplate> 
 
 
                            </telerik:GridTemplateColumn> 
                            


I have read This article, but i am still little bit lost.Sorry


Nikolay Rusev
Telerik team
 answered on 29 Jan 2009
5 answers
185 views
Hi

We can not find Insert Form Element in RadEditor for Sharepoint 2007. Why?

Regards Masse
Joakim Lamkiewicz
Top achievements
Rank 1
 answered on 29 Jan 2009
1 answer
127 views
I have a bit of Java below that fires when they move to tab 6. It works fine on my machine but I have tried it on other machines and it hasn't fired. We are both using IE 7. I am using the Jan 2007 version of Telerik.

Is there anything else I should be checking? Is there a setting that I might have turned on and he might have turned off. Testing on 5 machines so far has it working on my two and not working on the other 3.

Thanks
Randy Miller
TransGuardian

 



 

function OnClientTabSelected(sender, eventArgs) {

 

 

    var tabs = eventArgs.get_tab();

 

 

    if (tabs.get_index() == 5) {

 

 

        var ajaxManager = $find('<%= RadAjaxPanel1.ClientID %>');

 

        ajaxManager.ajaxRequest(

"FillOutSummery");

 

Sebastian
Telerik team
 answered on 29 Jan 2009
8 answers
301 views
Hello,
I am trying to implement an Aggregate Chart like shown here:
http://demos.telerik.com/aspnet/prometheus/Controls/Examples/Integration/GridAndChart/GridAndAggregateChart/DefaultCS.aspx?product=chart
I would like to know if there is a way to use LINQ to SQL for loading the information into the graph. Any help would be appreciated,
Thanks.
Ves
Telerik team
 answered on 29 Jan 2009
3 answers
329 views
Hi, I try to attach a radConfirm window to one button of the RadToolBar. I used the following sample javascript code to implement the thread execution blocking. On page_load I add attribute to one of buttons. My problem is the RadConfirm window Cancel button work but the OK button not working.  Looks like  callerObj.click();  didn't do anything.

Waiting for your reply.

Thanks!


RadToolBar1.FindItemByValue(

"2").Attributes("onclick") = "javascript:radconfirm('Are you sure?', event, 330,100,'','Confirm'); "

 

 


<
script type="text/javascript">

 

 

//MAKE SURE THAT THE FOLLOWING SCRIPT IS PLACED AFTER THE RADWINDOWMANAGER DECLARATION

 

 

//Replace old radconfirm with a changed version.

 

 

var oldConfirm = radconfirm;

 

 

//TELERIK

 

 

//window.radconfirm = function(text, mozEvent)

 

 

//We will change the radconfirm function so it takes all the original radconfirm attributes

 

window.radconfirm =

function(text, mozEvent, oWidth, oHeight, callerObj, oTitle)

 

{

 

var ev = mozEvent ? mozEvent : window.event; //Moz support requires passing the event argument manually

 

 

//Cancel the event

 

ev.cancelBubble =

true;

 

ev.returnValue =

false;

 

 

if (ev.stopPropagation) ev.stopPropagation();

 

 

if (ev.preventDefault) ev.preventDefault();

 

 

 

//Determine who is the caller

 

 

var callerObj = ev.srcElement ? ev.srcElement : ev.target;

 

 

 

//Call the original radconfirm and pass it all necessary parameters

 

 

if (callerObj)

 

{

 

//Show the confirm, then when it is closing, if returned value was true, automatically call the caller's click method again.

 

 

var callBackFn = function (arg)

 

{

 

if (arg)

 

{

 

callerObj[

"onclick"] = "";

 

 

if (callerObj.click) {

 

 

 

 

 

callerObj.click();

 

 

 

}

//Works fine every time in IE, but does not work for links in Moz

 

 

else if (callerObj.tagName == "A"  ) //We assume it is a link button!

 

{

 

 

try

 

{

eval(callerObj.href)

 

}

 

catch(e){}

 

}

}

 

}

 

//TELERIK

 

 

//oldConfirm(text, callBackFn, 300, 100, null, null);

 

 

//We will need to modify the oldconfirm as well

 

oldConfirm(text, callBackFn, oWidth, oHeight, callerObj, oTitle);

}

 

 

return false;

 

}
</script>

Georgi Tunev
Telerik team
 answered on 29 Jan 2009
2 answers
150 views
Hi

I am using RadTabStrip with only images on the tabs no text like this.

 

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="" MultiPageID="RadMultiPage1" Width="470" Height="25" >

 

<Tabs>

 

<telerik:RadTab PageViewID="LatestNewsPageView"

 

ImageUrl="Handlers/GetMainTabImage.ashx?text=Latest News&tabImage=Normal"

 

SelectedImageUrl="Handlers/GetMainTabImage.ashx?text=Latest News&tabImage=Selected"

 

HoveredImageUrl="Handlers/GetMainTabImage.ashx?text=Latest News&tabImage=Hover" CssClass="Tabs">

 

</telerik:RadTab>

 

<telerik:RadTab PageViewID="BenifitsPageView"

 

ImageUrl="Handlers/GetMainTabImage.ashx?text=Benifits&tabImage=Normal"

 

SelectedImageUrl="Handlers/GetMainTabImage.ashx?text=Benifits&tabImage=Selected"

 

HoveredImageUrl="Handlers/GetMainTabImage.ashx?text=Benifits&tabImage=Hover" CssClass="Tabs">

 

</telerik:RadTab>

 

<telerik:RadTab PageViewID="VIPEventsPageView"

 

 

 

ImageUrl="Handlers/GetMainTabImage.ashx?text=VIP Events&tabImage=Normal"

 

SelectedImageUrl="Handlers/GetMainTabImage.ashx?text=VIP Events&tabImage=Selected"

 

HoveredImageUrl="Handlers/GetMainTabImage.ashx?text=VIP Events&tabImage=Hover" CssClass="Tabs">

 

</telerik:RadTab>

 

</Tabs>

 

</telerik:RadTabStrip>

What I want to do is have a spacing of 4 pixels between each tab, so I have the following CSS

 

.Tabs

 

 

{

 

 

    margin-right: 4px;

}

 

 

 

But this doesn't work.

What do I need to do to get the spacing between the tabs

Thanks

Nick

 

 

Nicholas
Top achievements
Rank 1
 answered on 29 Jan 2009
10 answers
300 views
Hi,

I am following the code in the KB article 672 about resizing a radwindow according to its contents. The problem I have is that I don't want the radWindow to be displayed until it is the correct size. It doesn't look very good to have the window displayed at its initial size then redisplayed at the correct size. I've tried setting the initial coordinates of the window with negative values (so it is not visible), I've also tried setting the initial height and width to 0 but it displays a minimum width and I've also tried setting setVisible to false immediately and then reshowing after the resizing is complete. All of these solution either didn't work or had strange side effects. Can you tell me if it is possible to achieve this, or if it will be in the future. This appears to be a serious drawback if it isn't possible to prevent the window from displaying until it is resized correctly.

Thanks,

John
Georgi Tunev
Telerik team
 answered on 29 Jan 2009
1 answer
129 views
Hi....
i am setting setting skin for controls in web.config

  <appSettings>  
   <add key="Telerik.Skin" value="Office2007" />  
    <add key="Telerik.Grid.Skin" value="Office2007"  />  
    <add key="Telerik.TabStrip.Skin" value="Vista"  />  
  </appSettings> 
 

i am not applying skin in aspx code.  i want get current skin name for particular control.
currently i am getting skin name using ConfigurationManager class and couple of IF statement.
is there any method or property available using which i can get skin name for any control ?

Thanks,



Dimo
Telerik team
 answered on 29 Jan 2009
1 answer
101 views
Inside a collapsible panel I have a link button.  When the link button is clicked, it opens a dynamic tooltip.  If the collapsible panel has previously  been collapsed and expanded then the tooltip disappears as soon as it starts to open.  It seems as if the collapse and expansion of the panel has "confused" the tooltip about its space requirements causing it to close.

Is this a known bug?  Please let me know what can be done about this.
Svetlina Anati
Telerik team
 answered on 29 Jan 2009
4 answers
205 views
Hi,

I am using exactly same approach as given in your MyPortal.
http://demos.telerik.com/aspnet-ajax/Dock/Examples/MyPortal/DefaultCS.aspx

I am dynamically adding all asp.net usercontrols as in your sample.

Most of the controls work fine except those with UpdatePanel in them.
It gives following error -------->

   Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID        MyControl_C_ctl00_upnlMyUpdatePanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

Please advice how to fix. Modified MyPortal sample would be great !

Thanks.
Sameer
Sameer
Top achievements
Rank 1
 answered on 29 Jan 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?