Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
Hello,

I am creating a user control which consists of a textbox and rad spell check control together.
I have used more than one instance of this user control on my web page.
also, I have a public property 'Skin' for user control which set the skin for spell check control.

The problem i have got here is, I am trying to set different skins for different instances of the user control.
But it is not working.. all the spell check controls are using the same skin instead of different skins.

Any ideas why this is happening?
Any help on this will be appreciated.

Thanks,
Sree
Rumen
Telerik team
 answered on 13 Oct 2009
5 answers
151 views

function OnClientTabSelecting(sender, eventArgs) {  
var tab = eventArgs.get_tab();  
var navigateUrl = tab.get_navigateUrl();  
if (navigateUrl && navigateUrl != "#" && dataChangeField.value == "true") {  
var proceed = tabConfirm(Click OK to proceed or Cancel to stay on current page.',eventArgs, 330, 100, '', "Change");
if (!proceed) {  
eventArgs.set_cancel(true);  
}  
else {  
eventArgs.set_cancel(false);  
dataChangeField.value = "false";  
}  
}  
 
window.tabConfirm = function(text, ev, oWidth, oHeight, callerObj, oTitle) {  
var callerObj = ev._tab._linkElement;  
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) { }  
}  
}  
}  
radconfirm(text, callBackFn, oWidth, oHeight, callerObj, oTitle);  
}  
return false;  
}  
 

The requirement is to show a rad confirm window on tab change event. When user clicks OK he/she will be navigated to the clicked tab, on cancel user will remain on current tab itself. The issue is here is radConfirm() is not returning true properly - in OnClientTabSelecting event I am checking whether radConfirm result is true or false and calling set_cancel() method. I am unable to capture the OK button click and set the value here. Would appreciate any inputs on this - this is urgent.

Thanks,
Aneesh
Paul
Telerik team
 answered on 13 Oct 2009
7 answers
292 views
Hi,

i m using grid client side binding with page methods. i want to export grid data to excel but i think there is a bug or something is wrong
in my code.

sample code;

function

 

exportToExcel(fileName) {

 

 

var objGrid = $find("<%= grid.ClientID %>").get_masterTableView();

 

objGrid.exportToExcel(fileName);

 

}

 

function

 

requestStart(sender, args){

 

 

if (args.get_eventArgument().indexOf("Export") != -1) {

 

args.set_enableAjax(

false);

 

}

}

 

also i tried this to use ajaxmanager but OnRequestStart event does not fire, because my page does not post back..
when i try to use grid like your samples; bind grid with sqldatasource excelExport works, but when i try to binding on client side
excelExport does not work..
How can i solve this problem?

thanks..


 

Radovan Radic
Top achievements
Rank 1
 answered on 13 Oct 2009
3 answers
229 views
Would there be any way to set up the FileExplorer to read from an FTP path instead of a physical path?
Fiko
Telerik team
 answered on 13 Oct 2009
1 answer
82 views
May be the wrong place, but is there a way to round the corners of the built in grid skinsfs? Maybe use the Visual Style Builder?
Sebastian
Telerik team
 answered on 13 Oct 2009
0 answers
128 views
HI
i am trying to bind SQL data inside the PanelBar Q3 item but when i run the app nothing appear my PanelBar inside a asp:Repeater
here is my code:
 <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Gray"    Width="100%" Height="200">  
            <Items> 
            <telerik:RadPanelItem runat="server"  Expanded="true">  
            
            <ItemTemplate>   
            <runat="server" id="DateTimeTab">  
            <%#DataBinder.Eval(Container.DataItem, "AddedDate", " {0:HH:mm:ss}&nbsp;&nbsp;-&nbsp;&nbsp;{0:dd-MM-yyyy} ")%></a>  
            </ItemTemplate> 
            <Items> 
            <telerik:RadPanelItem runat="server">  
            <ItemTemplate>   
            <b><%# Container.DataItem("Title") %></b>  
            </ItemTemplate> 
            </telerik:RadPanelItem> 
            </Items> 
            </telerik:RadPanelItem> 
            </Items> 
              
              
            </telerik:RadPanelBar> 
best regards
Metalvoice
Top achievements
Rank 1
 asked on 13 Oct 2009
0 answers
198 views
I want to use RadGrid in my asp.net 3.5 site. But when I use it in my .cs files, it shows me "the name radgrid1  doesn't exist in the current context" error. Please help me :(
yusuf aydın
Top achievements
Rank 1
 asked on 13 Oct 2009
1 answer
261 views
Can someone please help me figure out how to add padding to all sides of the RadTextBox.
Sebastian
Telerik team
 answered on 13 Oct 2009
1 answer
71 views
I am going to be looking at adding SSL encryption to my web application soon and wanted to know what implications the web resources have for HTTPS. IE that I don't want mixed content and purely HTTPS, do the web resources automatically inspect that the request is for a HTTPS page and enable SSL on their output?
Paul
Telerik team
 answered on 13 Oct 2009
9 answers
231 views
Would it be possible to give "special days" (holidays for example) a different color than other days? And would it be possible to do that for all resources shown in the Scheduler at that moment?
Datamex
Top achievements
Rank 2
 answered on 13 Oct 2009
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?