Posts:
Welcome to the VWD-CMS forum!
This forum is dedicated to discussions about VWD-CMS.
If you have questions about VWD-CMS, or if you would like to share code samples, feel free to post to this forum.
Anyone can read the forums, but you must be a registered member if you would like to contribute to the discussions.
Thank you for visiting VWD-CMS Forums.
Regards,
Jeff Bazinet
Lead Developer - VWD-CMS.
while downloading a file in aspx page ,i no need save button option ...in download dialog pls helpasp.net
deepakkumar,
Sorry... I don't really understand what you are trying to do...
Are you having trouble using vwd-cms.com or is this a problem in an ASP.NET application that you are building?
-Jeff
Hello Jeff,
I am using splitter control.. it is working fine but when i try to put it on master page then it doesn't work and runtime whole splitter control missed on page..
if i make a change in Table cell 'tdTree1' [ remove runat="sever" attribute]
and same for Div Control 'divTree1'
then i works fine but during post back it doesn't preserves it's previous width......
because i got null value for these controls.....(that's why need of runat="server")
so is this limitation of the control.....
or am i doing any wrong thing......
please help to sort out this problem..
looking forward......
Regards,
Lokesh
Hello
i need some help regarding web Forum, how web Forum works.Is there any web forum available with source on ASP.net C#.
Hi kas_khi - yes VWD-CMS comes with the forums that you see on this site. VWD-CMS is for ASP.NET with C# and is open source. Good luck! -Jeff
Hi... is there any example for implementation of File transfer Protocol using ASP.net 2.0
Actually i am new to using FTP..kindly send me some example.
Thanks
Raj
Hi Raj,
Sorry for the delay in replying to you...
I don't have a lot of time these days or else I would build a demo project, but here are some code samples from some of the FTP utitlities that are going to be in VWD-CMS 3.0.
Again, sorry I can't take the time to package it up in a better example...
If you look at the code you will be able to get the idea but this code will not execute since you don't have all of the supporting objects (VwdCms.Config classes) to make it work.
private void FtpTestConnection()
{
FtpWebRequest ftp = null;
string ftppath = null;
ftppath = GetFtpServerUrl();
try
{
ftp = GetFtpWebRequest(ftppath, WebRequestMethods.Ftp.ListDirectory);
if (ftp != null)
{
FtpWebResponse response = (FtpWebResponse)ftp.GetResponse();
this.lblError.Text += "<hr>" + response.StatusCode + " " + response.StatusDescription;
if (response != null)
{
Stream stream = response.GetResponseStream();
StreamReader reader = new StreamReader(response.GetResponseStream());
while (!reader.EndOfStream)
{
this.lstResults.Items.Add(new ListItem(reader.ReadLine()));
}
reader.Close();
reader = null;
}
}
}
catch (Exception ex)
{
this.lblError.Text += "<hr>" + ex.ToString();
}
}
private FtpWebRequest GetFtpWebRequest(string requestUriString, string ftpCommand)
{
FtpWebRequest ftp = null;
NetworkCredential nc = GetNetworkCredential();
try
{
ftp = (FtpWebRequest)FtpWebRequest.Create(requestUriString);
ftp.Credentials = nc;
ftp.Method = ftpCommand;
}
catch (Exception ex)
{
this.lblError.Text += "<hr>" + ex.ToString();
}
return ftp;
}
private NetworkCredential GetNetworkCredential()
{
string username = string.Empty;
string password = string.Empty;
string domain = string.Empty;
if (!string.IsNullOrEmpty(this.txtFtpPath.Text))
{
string ftppath = this.txtFtpPath.Text;
username = this.txtUsername.Text;
password = this.txtPassword.Text;
domain = ftppath.ToLower();
int i = domain.IndexOf("@");
if (i != -1)
{
domain = domain.Substring(i + 1);
}
domain = domain.Replace("ftp://", string.Empty);
if (domain.EndsWith("/"))
{
domain = domain.Substring(0, domain.Length - 1);
}
}
else if (this.ddlFtpPath.SelectedIndex > 0)
{
FtpAccount ftp = this.Config.FtpAccounts[this.ddlFtpPath.SelectedValue];
if (ftp != null)
{
username = ftp.User;
password = ftp.Password;
domain = ftp.Domain;
}
}
NetworkCredential nc = new NetworkCredential(username, password, domain);
return nc;
}
private string GetFtpServerUrl()
{
string ftppath = string.Empty;
if (!string.IsNullOrEmpty(this.txtFtpPath.Text))
{
ftppath = this.txtFtpPath.Text;
}
else if (this.ddlFtpPath.SelectedIndex > 0)
{
FtpAccount ftp = this.Config.FtpAccounts[this.ddlFtpPath.SelectedValue];
if (ftp != null)
{
ftppath = "ftp://" + ftp.Host;
if (!ftppath.EndsWith("/"))
{
ftppath += "/";
}
ftppath += ftp.Folder;
if (!ftppath.EndsWith("/"))
{
ftppath += "/";
}
}
}
return ftppath;
}
hello dear, i don't understand because if i add the "resize panel" into one User Control it not work correctly.
One of you can help me?
Thanks
Antonello
Hi Antonello,
I think the ResizePanel was never really finished so I removed it from the project - try using a layout from the SplitterBar examples to get resizing of panels and other elements. I hope this helps...
-Jeff
Hi there
I am completely new at this cms "thing" and therefore i do not know where to start!!I don't know if anyone is willing to help me-but i heard this CMS is one of the best to use
So where do i start?I have downloaded the file - now what?do i open it with VWD?
I see there are so many pages how do i start my own website. I know this might seem like alot to ask but really trying to understand this CMS and how use it when creating my latest website
Please if some one could email me the answers to my questions it's cherylf@abosoftware.co.za
I would be most grateful
Hi alexa,
VWD-CMS is designed as a tool for developers, so if you don't have a lot of experience with ASP.NET it might be hard to jump in quickly.
If you are an experienced programmer, you can just open the project in Visual Web Developer 2005 and follow the setup instructions - there are a number of steps to customize the site to your needs.
I hope that you enjoy using VWD-CMS and feel free to post any specific questions that you have...
Regards,
Jeff
Hello,
I am trying to use the ImageZoom control. I created a project copied all of the code you requested but when I run it gives the following error:
The base class includes the field 'izImgZoom', but its type (VwdCms.ImageZoom) is not compatible with the type of control (VwdCms.ImageZoom).
Any ideas?
Thanks,
John