Model name in DocumentExplorer

I attempt to rename the Model name in the document eplorer by the file name as follows

       Dim open1 As New OpenFileDialog()
        If open1.ShowDialog() = DialogResult.OK Then
            Diagram1.LoadBinary(open1.FileName)
            DocumentExplorer1.AttachModel(Diagram1.Model)
            Diagram1.Model.Name = Path.GetFileNameWithoutExtension(open1.FileName)
        End If

But the model name in the document explorer is always 'Model'

If I use another string "MyModel", the Model.Name becomes "MyModel"

Is there a bug here or I am missing something?

1 Reply

NG Naganathan Ganesh Babu Syncfusion Team February 5, 2018 05:36 AM UTC

Hi Allen,  
 
We are unable to reproduce the reported issue at our end. Please refer to the below sample and video.  
 
Sample: 
 
 
Video: 
 
 
Please share us more details about your requirement as such as to modify the above sample at your end or screen shot/video to demonstrate to how to reproduce the reported issue at your end, which will help us to analyze further and provide you a better solution. 
 
Regards,  
 
Naganathan K G  
 


Loader.
Up arrow icon