|
I don't have Visual Web Developer but on Visual Studio there is a Publish Web Site option under the Build menu. If you don't have that then you can use something like SmartFTP to upload to your web server.
|
|
|
|
|
Hi
There is no publish facility in visual web developer
Is there no way I can use VWD to upload files, i dont realy want to use an external client such as smartftp
thanks anyway
|
|
|
|
|
I guess Visual Web Developer was only ever going to provide basic functionality and leave out the nice-to-have functions, it is a free tool after all, and understandably MS want you to upgrade to the full version of Visual Studio to get your mula.
|
|
|
|
|
Hey
OK so I have downloaded smart ftp as my ftp client and have uploaded the files
however now they are just showing as the code and not as an actual page
any reasons for this?
cheers
|
|
|
|
|
Are you sure your host supports the version of ASP.NET you are using?
|
|
|
|
|
I have a datatable with field of datatype image.In that field i am storing images converted into bytes.When i try to modify it i am not gave any image and save it.Then the filed value is NULL.again i try to modify by gaving any image ,then an exception of string or binary truncated occurs.why this error occur.
|
|
|
|
|
Please relpy .its urgent.
|
|
|
|
|
Ok sir. Sorry to delay. Can you please explain the methods u tried to store the image?
|
|
|
|
|
if (Upload_Logo.HasFile)
{
Stream ms = Upload_Logo.PostedFile.InputStream;
int filelength = Upload_Logo.PostedFile.ContentLength;
string contenttype = Upload_Logo.PostedFile.ContentType;
byte[] image = new byte[filelength];
int length = ms.Read(image, 0, filelength);
insunit.SaveUnitDetails(Txt_UnitName.Text, Txt_ShortName.Text, Txt_Location.Text, image, DdlStreamList.SelectedValue, TxtStdperClass.Text, username.Trim(), date);
}
This is the method i used to store the image.By converting the uploaded image into byt and save it thesaveunitdts is the class file
|
|
|
|
|
As u told me i send the code to u sir.Then why dont u reply.please help me urgently.
|
|
|
|
|
Hi.
This is from Chandrakanth.
Actually in my page i was added Menu.
I have Binded Data through SiteMap Provider.
My Menu are ADMIn ,USERS,sALES,rEPORTS.
uNDER aDMIN -loGIN,RESET PASSWORD
UNDER USERS -USERADD, USERMODIFY
UNDER SALES - SALESREPORTADD
UNDER REPORTS - REPORT1
NOW I HAVE ONE Drop Down List , TextBox And One Button.
Drop Down Items are populated from Database.
Drop Down Items are like -- New Menu, AddUsers,Master Records
Now i want to Select Items from DropDown(Ex... AddUsers)
After that i have enter Name of Menu(LIke Admin, Users,Sales,Report) this choice depending upon User.
suppose i enter in the Text box like "Admin"
Here after user click Add Button ...
What ever i select from DropDown(AddUsers)
that shold be added in the Main Menu Based on entering the Name of the Menu Name in the TextBox.
Ex in the Dropdown i Have seleced --- addUsers
in the Text box i have enterred --- Admin by clicking button
Under Admin
AddUsers Shold be add.
Can any one Give me some suggestion ont this.
Thnks andRegards
Chandraknth
Chandrakanth
|
|
|
|
|
Where is your menu coming from ? There's no menu built into ASP.NET AFAIK.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi
Mr Christian Graus
I have Taken Menu Control in (2.0)
And My Name of the Page is Menu.aspx
that coding is
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server" >
<asp:Menu ID="Menu1" runat="server" Font-Names="Verdana" Font-Size="0.8em"
ForeColor="White" Height="14px" Orientation="Horizontal"
StaticEnableDefaultPopOutImage="False" StaticSubMenuIndent="10px"
Style="clear: right; display: inline; font-weight: bold; list-style-position: outside; font-size: 15pt; float: none; text-transform: capitalize; color: purple; list-style-type: circle; text-align: justify; text-decoration: underline"
Width="100%" > <%--DataSourceID="SiteMapDataSource1" --%><StaticMenuStyle BackColor="#01145a" />
<StaticMenuItemStyle Font-Size="Small" HorizontalPadding="5px" VerticalPadding="2px" Font-Bold="true" />
<DynamicHoverStyle BackColor="#cccdd5" ForeColor="#01145a" Font-Underline="true" Font-Bold="true" />
<DynamicMenuStyle BackColor="#cccdd5" BorderColor="#ff0000" Font-Bold="true" />
<StaticSelectedStyle BackColor="Fuchsia" BorderColor="Blue" ForeColor="White" Font-Bold="true" />
<DynamicSelectedStyle BackColor="Lime" BorderColor="White" Font-Bold="true" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" Font-Bold="true" />
<StaticHoverStyle BackColor="#01145a" ForeColor="White" />
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
<table width="100%" >
<tr>
<td align="center" >
<asp:DropDownList ID="ddlMenu" runat="server" Width="200px" Height="22px">
<asp:ListItem Value ="Select">--------------------Select-------------------</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub1</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub2</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub3</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub4</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub5</asp:ListItem>
<asp:ListItem Value ="Sub1">Sub6</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="center">
<asp:TextBox ID="txtMenu" runat="server" Width="180px" Height="20px"></asp:TextBox>
<asp:Button ID="btnMenu" runat="server" Width="70px" Text="AddMenu" onclick="btnMenu_Click" />
</td>
</tr>
</table>
</asp:Content>
And I have Bounded data through Web.SiteMap thst coding is
<siteMap>
<siteMapNode title="Default" description="Home" url="menu.aspx" >
<siteMapNode title="Admin" description="Admin" >
<siteMapNode title="LogIn" url="~/KotakLogin/LogIn.aspx" />
<siteMapNode title="ChangePassword" url="~/KotakLogin/ChangePassword.aspx" />
<siteMapNode title="ResetPassword" url="~/KotakLogin/ResetPassword.aspx" />
</siteMapNode>
<siteMapNode title="Users" description="Users" >
<siteMapNode title="Default ErrorPage" url="DefaultErrorPage.aspx" />
<siteMapNode title="Query Builder" url="~/Admin/QueryBuilder.aspx" />
<siteMapNode title="View QueryBuilder" url="~/Admin/ViewQueryBuilder.aspx" />
</siteMapNode>
<siteMapNode title="Sales" description="Sales" >
<siteMapNode title="SecurityQuestion" url="~/KotakLogin/SecurityQuestion.aspx" />
<siteMapNode title="FisrtLoginChangePassword" url="~/KotakLogin/FisrtLoginChangePassword.aspx" />
</siteMapNode>
<siteMapNode title="Reports" description="Reports" >
<siteMapNode title="RequestForUserRegistration" url="~/KotakLogin/RequestForUserRegistration.aspx" />
<siteMapNode title="UserRegistrationApproval" url="~/KotakLogin/UserRegistrationApproval.aspx" />
</siteMapNode>
<siteMapNode title="Questions" description="Questions" >
<siteMapNode title="Image Viewer" url="~/Admin/ImageViewer.aspx" />
<siteMapNode title="Search" url="Search.aspx" />
</siteMapNode>
</siteMapNode >
</siteMap>
Can any one give me suggestion for this on how to Follow
Thanks And Regards
chandrakanth
Chandrakanth
|
|
|
|
|
You can make changes to what appears in the menu at runtime by manipulating the nodes in the OnMenuItemDataBound event, however persisting changes to the web.sitemap file is not so easy as this file is cached and the changes will not be visible until the application restarts.
|
|
|
|
|
hi friend
i am using thread with COM object but i gated all simple object when thread start but COM object not find. how i manage com object with thread please help me.
Piyush Vardhan Singh
|
|
|
|
|
|
Hi,
I have FarPoint Spread installed, previously we were using it in VB6.0 application.
Now i want to use in ASP.Net Application. I am trying to add this control in toollbox by right Clicking on Tool box ---> Choose Items ---->Com Components. But it doesnt display in Tool box.
Does anyone having idea, what step i am missing.
Thanks !
|
|
|
|
|
iam having a text box in that iam bring some names if the names contains the Email at any place then i have to perform another task. so how i can check that the string in the textbox is an email using javascript
|
|
|
|
|
jagadeeshkumar2106 wrote: how i can check that the string in the textbox is an email using javascript
Use a Regular Expression Validator control and specify a regular expression that checks whether the input corresponds to the format of a valid email address. There are plenty of examples available of you search Google[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
hi mr paul my question is that i have some headers like name,dob ,address
....including this iam having email address header also now how can check wheter the header string contains the words email....so that i can perform some other task with that
|
|
|
|
|
a regex is still the best way to do that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi All,
I developed web application using asp.net 2.0 ,C#.
My application looks fine(Display wise) in IE6.0 ,but I run same application in IE7 the controls like combo box are not displays properly..
Need help !!
Thanks in advance.
parthiban
|
|
|
|
|
Sounds like you have css issues. Try running it on FireFox and see how bad it looks.
Seriously, getting your styling right for all browsers is a major undertaking.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Visual Studio Generates style tags when you drag drop any control, so just remove the style tags which are generated by the IDE.
Hope this will help you out
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
I have a template Header as below
<asp:templatefield headertext="Exclude Language">
...
</asp:templatefield>
How can I change the header text on Runtime. I want to do it with C#
Regards,
Pavas
|
|
|
|