Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
112 views
Hi,
I'm upgrading my older version of telerik radwindow with the newest one.

I need to show radconfirm by an action on a radgrid, after postback, so I manage a label inside a hidden placeholder (called "labAlert"), and on postback i assign to "labAlert.Text" a script that calls radconfirm, and i set visible the placeholder
this is on ascx.cs:
    protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) 
    { 
        if (e.CommandName == "ActionName") 
        { 
            String ScriptJs = "<script language=JavaScript>"
            ScriptJs += "{"; 
            ScriptJs += "ShowConfirm('ConfirmText')"; 
            ScriptJs += "}"; 
            ScriptJs += "</SCRIPT>"; 
            labALERT.Text = ScriptJs
            PlaceHolder1.Visible = true
            e.Canceled = true
        } 
 

and this is on .ascx
<script type="text/javascript"
    function ShowConfirm(text) 
    { 
        radconfirm(text, confirmCallBackFn, 200, 100, '', ' '); 
        return false; 
    } 
    function confirmCallBackFn(Conferma) 
    { 
        if (Conferma) 
        { 
            [...javascrip actions if OK ...] 
        } 
        else 
        { 
           [...javascrip actions if CANCEL...] 
        } 
    } 
    </script> 

whith old version of radwindow it works fine, but with new version i get a javascript error on browser when radconfirm is called...
Where is the difference???

Thanks in advance

Gianluca
Top achievements
Rank 1
 answered on 20 Apr 2009
2 answers
155 views
Hi All

I have designed a login screen. With an option forget password.

If I click the forget password button, I have made an radpromt to appear with a text box and two buttons ok and cancel.

The text box is to enter the email id

<

button class="qsfButtonBig" style="width: 100px" onclick="radprompt('<em><span style=\'color: #000099;\'>Please enter your email address:</span></em>', promptCallBackFn, 330, 100, null, 'Forgot Password Manager', ''); return false;">Forgot Password</button>

 

 


I need:

If the email id is entered in the textbox. have to check the email id in the table and get its password from the table(user table) and have to sent it to the email id given.

Is there any solution for this.

I know the mailing concept.

Before that, have to check the emailid and take the password.

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 20 Apr 2009
1 answer
154 views
I've been learning your PDF guide: Telerik RadControls for ASP.NET AJAX: Getting Started with RadScheduler.
The probliem is I cannot find the sample database: SchedulerData.mdf (or is it a mdb file ?)
I have checked the directory: \Program Files\Telerik\RadControls for ASPNET AJAX<version>\Live Demos\App_Data.
But it's not exist.
Could you attach the dabase for me when replying my threas, please ?
Thanks
Atanas Korchev
Telerik team
 answered on 20 Apr 2009
5 answers
114 views
I have a Panel Bar working well except for displaying a gap at the bottom of the menu in IE6, IE7 + IE8 which is about 10-15pixels in height. I've tried everything to get rid of it but I cant. Would appreciate any help in pinpointing the root cause of where this is coming from.

The Panel bar is contained within a Table td with the following CSS

table.MasterPage td.NavigationBar
{
  padding:0px;
  margin:0px;
  background-color:#e6e6e6;
}:

The Panel Bar Skin is pasted below:

/* RadPanelBar SoftexPanelBar skin */

.RadPanelBar_SoftexPanelBar
{
    background-color:White;
    font: normal 11px Arial, Verdana, Sans-serif;        
    white-space:normal;
    min-height:150px;
    margin:0px;
    padding:0px;
}

.RadPanelBar_SoftexPanelBar .rpLink
{
  line-height:32px;
  font-weight:normal;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink
{
    background: #566397;
    color: White;    
    margin-bottom:1px;
    font-weight:normal;
  text-decoration:none;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpExpanded,
.RadPanelBar_SoftexPanelBar .rpRootGroup .rpSelected
{
    background: #18024D;
    font-weight:bold;
}

/* span class="text" */

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink:hover
{
    font-weight:bold;
}


.RadPanelBar_SoftexPanelBar .rpRootGroup .rpImage
{
  padding-left:10px;
  padding-top:8px;
}

/* child item link */

.RadPanelBar_SoftexPanelBar .rpLevel1 .rpImage
{
  padding-left:20px;
}

.RadPanelBar_SoftexPanelBar .rpLevel1 .rpLink
{
    background: #A7ADCD;
    color:#18024D;
    font-weight:normal;
    text-decoration:none;        
}

.RadPanelBar_SoftexPanelBar .rpLevel2 .rpImage
{
  padding-left:30px;
}

.RadPanelBar_SoftexPanelBar .rpLevel2 .rpLink
{
    background: #BFC7FF;
    color:#18024D;        
}

.RadPanelBar_SoftexPanelBar .rpLevel3 .rpImage
{
  padding-left:40px;
}

.RadPanelBar_SoftexPanelBar .rpLevel3 .rpLink
{
    background: #D3DEFF;
    color:#18024D;        
    font-weight:normal;
    text-decoration:none;
}

.RadPanelBar_SoftexPanelBar .rpLevel4 .rpImage
{
  padding-left:50px;
}

.RadPanelBar_SoftexPanelBar .rpLevel4 .rpLink
{
    background: #DDF3FF;
    color:#18024D;        
}

/* logout */

.RadPanelBar_SoftexPanelBar .rpRootGroup .Logout
{
  background:white;
  color:#666666;
  border-top:solid 1px #566397;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .Logout:hover
{
  background:white;
  font-weight:bold;
}

/* Bottom level */

.RadPanelBar_SoftexPanelBar .rpRootGroup .Last
{
  color:#666666;
  line-height:20px;
  height:0px;
  margin-bottom:0px;
  padding-bottom:0px;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .Last:hover
{
  background:none;
  font-weight:bold;
  color:#566397;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .Last .rpImage
{
  padding-top:3px;
}



John
Top achievements
Rank 1
 answered on 20 Apr 2009
2 answers
98 views
hi all,

i want to attach a radgrid to childnode which is getting populated from webservice,but iam not able to bind the grid in this way.

can u please give me some information regarding how to bind controls to node using webservice and also some sample codes showing how to bind the grid to node using webservice.

i tried binding the grid to a node using normal techniques(ie .serverside)  but for every postback the grid which has been generated  is getting disappeared.can u help me in this aswell.

thanks for u r answers in advance.
krishnasmitha
Top achievements
Rank 1
 answered on 20 Apr 2009
1 answer
199 views
I'm experiencing a problem where the application login page is shown within a RadWindow upon session timeout... do you have any suggestions for forcing use of the _top iframe instead?

The application that extended its Page class to use an HtmlMeta tag to redirect to a login page upon timeout:

Private Sub Page_Load(...)
    Dim meta as New HtmlMeta()
    meta.Attributes.Add("HTTP-EQUIV", "Refresh")
    meta.Attributes.Add("CONTENT", "600;URL=login.aspx")
    Me.Header.Controls.Add(meta)
End Sub

Thanks,
Tom Huleatt
Fiko
Telerik team
 answered on 20 Apr 2009
3 answers
170 views
Hello,

Was is working before ?
When I add a general template to my treeview from codebehind, just as in the documentation sample, setting it in Oninit, the template works perfectly but i am loosing the navigateurl feature.

My treeview is built in a callback, if I remove the template and use a simple text, it starts again to navigate.
I was using template just to instantiate in a literal a <table>.

When I add my Text source for table directly in the node's Text property, table is displayed but node seems to have a space added before my table and it leads to have the node line arring on an empty area uppon the table. Navigation is also broken.

Any solutiuon to add a 'click to jump' table in a node welcome.

CS
Atanas Korchev
Telerik team
 answered on 20 Apr 2009
1 answer
103 views
How to fire a server side function after a appointment is deleted. I know AppointmentDelete fires before the appoinment gets deleted.
Genady Sergeev
Telerik team
 answered on 20 Apr 2009
8 answers
310 views

Would someone please post an example of using RadUpload within a Master Page using a RadAjaxManager, on a content page with RadAjaxManagerProxy.

I have seen the threads dealing with setting the RadAjaxManager.ClientEvents-OnRequestStart property.  But it does not address doing this with RadAjaxManager.

Currently, I can get RadUpload to work if I remove the entire RadAjaxManagerProxy structure from the content page.  This is not acceptable, because my project specs require ajax functionality.    It would be OK to disable ajax and do a full page postback if the request contains an upload.




 

 

 

 

Markus
Top achievements
Rank 1
 answered on 20 Apr 2009
1 answer
104 views
I've got this property set as above. In FF3 it sometimes fails to render the scrollbars when switching between views. The only way to get the scrollbars to show is to resize the window slightly.

--
Stuart
Atanas Korchev
Telerik team
 answered on 20 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?