Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
178 views
http://stylebuilder.telerik.com/Advanced.aspx?suite=aspnet-ajax&control=TabStrip&skin=V2RadTabTest#

using StyleBuilder i had created TabStrip Css, i didnt modified any styles in CSS, just changed the image name.
Created skin and downloaded as it is. After downloading the skin i just copied the .png image and modified with desided colors.

i had attached both images [download default image + modified image + error image with both tab combination]
I am rendering the tabs dynamically on dropdownlist change event

when i click on create tab, 1st tab creates properly
when i create 2nd tab its adding wrong image to 1st image left side,
when i select a tab image created at last has showing wrong image.


check the error_tabstripimage.png
and let me know the issue.
Hiren
Top achievements
Rank 1
 answered on 08 Jun 2011
0 answers
90 views
Hello every one ,

When i click the add new button radlist box come empty ,
But here come with last record of radgrid
In Modify i assign the value for RadGrid1_ItemCreated,
That's assign in add mode also
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
       {
           if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
           {
               GridEditFormItem item = (GridEditFormItem)e.Item;
               RadListBox listbox = (RadListBox)item.FindControl("RadListBoxDestinationGroup");
               RadListBox listbox1 = (RadListBox)item.FindControl("RadListBoxSourceGroup");
               RadComboBox sortcolumn = (RadComboBox)item.FindControl("ComboBox_SortColumn");
               RadComboBox groupcolumn = (RadComboBox)item.FindControl("ComboBox_GroupByColumn");
 
               listbox.DataSource = DbClient.GetList<ListField>("LayoutId =" + LayoutId);
               listbox.DataValueField = "FieldName";
               listbox.DataTextField = "FieldName";
 
               sortcolumn.DataSource = DbClient.GetList<ListField>("LayoutId =" + LayoutId);
               sortcolumn.DataValueField = "FieldName";
               sortcolumn.DataTextField = "FieldName";
 
               groupcolumn.DataSource = DbClient.GetList<ListField>("LayoutId =" + LayoutId);
               groupcolumn.DataValueField = "FieldName";
               groupcolumn.DataTextField = "FieldName";
           }
       }




Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 asked on 08 Jun 2011
4 answers
87 views
Is there a way to highlight the destination row on the drag/drop (mouseover)?

Right now it's a dotted line and the users feel that that's not enough of a visual cue.

Thanks
Alex
Top achievements
Rank 2
 answered on 08 Jun 2011
1 answer
119 views
when I do my schedulername.AutoPostBack it seems AutoPostBack is not supported.
How do we do AutoPostBack with the RadScheduler. I do not see such a property.

Thank you.
Dan Lehmann
Top achievements
Rank 1
 answered on 07 Jun 2011
8 answers
194 views
When i use the OnPopupClosing event handler it fires only when some date is selected in the popup, but not when popup is closed due to the clicking outside it. How can i process the popup closing if no date was selected in it?
Sean
Top achievements
Rank 2
 answered on 07 Jun 2011
1 answer
111 views
Hi all.

I am having some issues with CreateNewDirectory. I wanted to create a Web Gallery using FileExplorer based on your demo. Because of using possible big files (4,5 MB and maybe more) I created a thumb directory and when uploading images I resize as well and them upload (resized and original) into 2 different directories (Images and ImagesThumb). In FileExplorer I show only the thumb directory. The DeletePath is defined to both Images and ImagesThumb directory. The images load OK and the memory usage is good. Deleting 2 directories at once or 2 files at once works great. But i have difficulties to create 2 directories.

The ASPX:
<telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Width="1000px" Height="690px"
                Skin="Black" EnableOpenFile="True" OnClientFolderChange="OnClientFolderChange"
                OnClientCreateNewFolder="onCreateNewDir"  OnClientLoad="OnFileExplorerLoad">               
 </telerik:RadFileExplorer>
 
CS:
string[] paths = new string[] { "~/ImagesThumb/", "~/Images/" };
RadFileExplorer1.Configuration.ViewPaths = new string[] { "~/ImagesThumb/" };
RadFileExplorer1.Configuration.UploadPaths = paths;
RadFileExplorer1.Configuration.DeletePaths = paths;

I have created the OnClientCreateNewFolder:
function onCreateNewDir(sender, eventArgs) {
    var oExplorer = getRadFileExplorer1();
    var dirPath = oExplorer.get_currentDirectory().replace('ImagesThumb', 'Images');
    oExplorer.remove_createNewFolder(onCreateNewDir);
    oExplorer.createNewDirectory(dirPath,eventAgs.get_newPath());
    oExplorer.add_createNewFolder(onCreateNewDir);
}

With no luck at all, in ImagesThumb it creates desired folder but in Images not. Then I tried create a second 
FileExplorer to handle the Image folder for me like this:

<telerik:RadFileExplorer runat="server" ID="RadFileExplorer2"Skin="Black" style="display:none">
<Configutation DeletePaths="~/Images" UploadPaths="~/Images" />               
            </telerik:RadFileExplorer>

OnCreate event:
function onCreateNewDir(sender, eventArgs) {
    var oExplorer = getRadFileExplorer1();
    var dirPath = oExplorer.get_currentDirectory().replace('ImagesThumb', 'Images');   
    getRadFileExplorer2().createNewDirectory(dirPath,eventAgs.get_newPath());   
}

Doesnt work either until the createNewDirectory has only 1 parameter and propmts a popup window to provide a name
but that is not desired. I dont want to use ActiveX object to create a directory.

Am I doing something wrong?? Is there a better way to achieve what I need???

Thx

Dobromir
Telerik team
 answered on 07 Jun 2011
5 answers
115 views
I'm trying to access data from a radgrid from a sharepoint webpart on the same page as the radgrid.  When I execute the GridDataItem Item line, it throws a null reference exception and says "Object is not set to instance of an object".  Why isn't it finding the control?


  
using (SPSite external = new SPSite(SPContext.Current.Web.Url))
    {
        using(SPWeb web = external.OpenWeb())
        {
              
            RadGrid ProjectGrid = (RadGrid)FindControl("rgViewPDS");
            GridDataItem item = ProjectGrid.Items[0];
            this.PP = item["PP"].Text;
            this.PED = item["PED"].Text;
        }
    }
});
Nate
Top achievements
Rank 1
 answered on 07 Jun 2011
1 answer
111 views
Hi All,

I have created a file explorer dynamically and I am trying to customise the default context menu provided in it.
I would like to hide the default menu options and add my own set of context menu items to it and add functionality on click on each item.

Could any one please tell me how to achieve this dynamically.

Many thanks in advance.

Regards
Rajeev
Dobromir
Telerik team
 answered on 07 Jun 2011
1 answer
118 views
Hi

How to decrese the height of the uploadcontainer if i click on upload button in RAD File explorer.

My scenario is  if i click on upload button i am hiding the some block in upload container window. i.e

-------------------------------------------------------------------------------------------------------------------
Max file size allowed:
25.00 MB
File extensions allowed:
*.au, *.css, *.doc, *.docm, *.docx, *.dotm, *.dotx, *.flv, *.gif, *.htm, *.html, *.jar, *.jpe, *.jpeg, *.jpg, *.js, *.mov, *.mp2, *.mp3, *.mpa, *.mpv2, *.pdf, *.png, *.potm, *.potx, *.ppam, *.ppsm, *.ppsx, *.ppt, *.pptx, *.pptm, *.pptx, *.swf, *.txt, *.vsd, *.vss, *.xhtml, *.xlam, *.xls, *.xlsx, *.xlsb, *.xlsm, *.xlsx, *.xltm, *.xltx, *.xsd, *.zip

-------------------------------------------------------------------------------------------------------------------
But after hiding of this blcok desgin prob is coming.there is big space between upload button and upload window.

Thats the reason i want to descrese height of that upload container.Please find the attached image for prob.
I have done like this.but its nt effecting.

 

 

var objUploadWidnow = "RadWindowWrapper_"+ objUploadContainer +"_windowManagerfileExplorerUpload";

 

 

 

 

var stylePanel = $telerik.$(".RadWindow RadWindow_Default rwNormalWindow rwTransparentWindow", objUploadWidnow);

 

 

alert(stylePanel);

 

stylePanel.css(

 

"height", "200px");

please correct me where i have done wrng.Please reply me as soon as posible.

Thanks
Sandhya

Dobromir
Telerik team
 answered on 07 Jun 2011
2 answers
50 views
I do believe this bug has been introduced in recent releases as I have not changed anything that would affect this, when you do 2 back to back radajaxmanager requests the scheduler drops all visible appointments
Jody Harbour
Top achievements
Rank 1
 answered on 07 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?