Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
222 views

Hi

I am having a scenario to Show modalDialog in my application and have the following code implemented.

var returnValue = window.showModalDialog(url.value, 'Transaction', 'dialogHeight:202px;dialogWidth:300px;');

If(returnValue)
 return 1;
else
 return 0;

In order to have the same look and feel as that of rad Confirmation messages. I am planning to change the ShowModalDialog to
var oWin = window.radopen()

But my screen is giving some wired behaviour.

I  need to return boolean value from this radopen and based on that i need to perform some functionality
Can you provide me some KB Article or code which would do the above functionality with radopen function.

Moreover when i use the radopen function to open a window the background operation doe not seems to wait till i complete the operation in the model dialog window.

And I am sure that i have enabled the model=true property in RadWindowManager.

Please suggest me some other approach where i could get boolean return type for the radOpen

Regards
Bose Thirumalai

Georgi Tunev
Telerik team
 answered on 05 Aug 2009
1 answer
146 views
Hi, thanks for answering all my questions, that you need that scrool the header without affecting radgrid

see this sample

http://www.elguille.info/colabora/puntoNET/miliuco_gridscroll/miliuco_gridscroll3.aspx

Shinu
Top achievements
Rank 2
 answered on 05 Aug 2009
1 answer
172 views
Hi,

In my project, I need to create a ascx with 2 tabs in that user control.

so i did the foll in my ascx:

<

 

telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="1">

 

 

<Tabs>

 

 

<telerik:RadTab Text ="Report" Value="Report"></telerik:RadTab>

 

 

</Tabs>

 

 

<Tabs>

 

 

<telerik:RadTab Text ="Report Dates" Value="ReportDates"></telerik:RadTab>

 

 

</Tabs>

 

 

</telerik:RadTabStrip>

But it's not appearing like a radtab .It's appearing with some bullets and links. I need a tabbed appearance

and also
on implementing the above, if i click on "report dates" tab, it adds an extra tab to the design??

Pls help me with code?? hat am i missing???

I need to put 3 listboxes in one tab and a radgrid in another tab??? how do i implement this.
Pls correct my code too.

Thanks,
ZR

 

Helen
Telerik team
 answered on 05 Aug 2009
1 answer
143 views
Hi!

I could not find any post relative to my question, or a forum "General" to ask, i am sorry if it is in the wrong place.

My Question:

Can i install my Telerik Premium Collection, on both my Desktop and Laptop?

Thanks


Lidiya
Telerik team
 answered on 05 Aug 2009
3 answers
219 views
Hello,

When I delete a folder from FileExplorer control , my session variables is get expired.
Please check my below code,

  <asp:ScriptManager ID="t" runat="server"></asp:ScriptManager> 
     
    
     
    <telerik:RadFileExplorer ID="rfeDocuments" runat="server"  
        > 
        <Configuration ViewPaths="~/Files" UploadPaths="~/Files"  
            DeletePaths="~/Files" MaxUploadFileSize="104857600" /> 
    </telerik:RadFileExplorer> 





protected void Page_Load(object sender, EventArgs e) 
    { 
        try 
        { 
            if (!IsPostBack) 
            {               
                Session["test"] = "tt"
            } 
            string s; 
            if (Session["test"] != null
                s = "ok"
 
        } 
        catch (Exception ex) 
        { 
           // 
        } 
    } 


Please help me to solve this problem.

I am using telerik Q2 release,
VS 2008 and framework 3.5
tested on IE as well as FF.


Thanks,
Amol
Fiko
Telerik team
 answered on 05 Aug 2009
8 answers
556 views
Is there any way to execute radconfirm and radprompt through codebehind in VB??
I need to re-use the variable that will be entered/clicked by the user.
Fiko
Telerik team
 answered on 05 Aug 2009
3 answers
163 views
Hello ,

I want to customize messages like “DirectoryAlreadyExists”,
filesize limit messages, delete confirm messages , file exists messages.

Could you please tell me how to change that?

Thanks,
Amol



Fiko
Telerik team
 answered on 05 Aug 2009
3 answers
628 views
Hi,
in this live demo http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx you  opening a dialog from another dialog and ensuring the communication between them and the parent page.
But you are using "normal controls"  without masterpage eg.

<input type="text" style="width: 100px;" id="cityName" value="Sofia" /> 

My question is how to send value to asp.net control which has a code:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
When I looked at the source code on the actual webpage the textbox id changed from TextBox1 to ctl00_EditPH_TextBox1.
Why id is changed (master pages?)?
Therefore I can't use javascript function (error):
function populateCityName(arg)  
        {  
           var cityName = document.getElementById("TextBox1");  
           cityName.value = arg;  
        } 

It works fine when I wrote: getElementById("ctl00_EditPH_TextBox1").
But I have lots controls and look every time to source page is annoying.
How to avoid this?
Fiko
Telerik team
 answered on 05 Aug 2009
1 answer
167 views
Hi,

I just recognized that the RadScripManager does not support CodeAssist for Services registered with RadScriptManager.
When I use ScriptManager I get Code assist. After reading a little bit in your documentation I see that this is missing feature. So I think I gonna start using ScriptManager for development instead of RadScriptManager.
Could this be a drawback for me?
What does RadScriptManager better than ScriptManager? Should i use ScriptManager for development and than before we go productive switch back to RadScripManager?

Thank you

Alex
Atanas Korchev
Telerik team
 answered on 05 Aug 2009
1 answer
104 views
Hi,

1) Can anyone tell me how to bind a radlistbox to a list<class>.

I have a list<class>.
I need to bind listbox to it?? how do i implement this in c#

listbox1.datasource = ??
listbox1.???
Pls do help me with code.

2) also can anyone tell me how to bind radlist box to an enum???

Thanks,
ZR
Atanas Korchev
Telerik team
 answered on 05 Aug 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?