Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
' save the grid layout to the GridLayout setting
Using stream
As
New
MemoryStream()
Me
.radGridView1.SaveLayout(stream)
stream.Position = 0
Dim
buffer
Byte
() =
(
CInt
(stream.Length) - 1) {}
stream.Read(buffer, 0, buffer.Length)
My.Settings.[
Default
].GridLayout = Convert.ToBase64String(buffer)
End
Using
' load the layout
MemoryStream(Convert.FromBase64String(My.Settings.[
].GridLayout))
.radGridView1.LoadLayout(stream)