|
go to IIS configuration and create a new VIRTUAL DIRECTORY.. follow the wizard steps.. and u will deploy your application.
to access your web site, go to IE and in the location bar typre
http://localhost/websitename
hope it helps
Kunal
|
|
|
|
|
|
hi freinds
I have one xml file which has many elements
I want to use query string to get perticular records from xml file.
Is it possible for xml?
Can i use same way for dataset.
Thanks in advance
pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hi All,
I need to upload a file using drag and drop functionality.How can I do this ? Please Help me.
Thanks and Regards
Narendra
|
|
|
|
|
Can anyone help me? I currently using (ASP.NET + VB.NET) with Database (Ms Access) , i have retrive record with command "ExecuteReader()" after this it will show all record depend on database, but want to display 10 reocrds per page, please help me
Thanks
Socheat
................
|
|
|
|
|
Use a datagrid and set the pagesize as 10 for the datagrid. Then bind the datagrid. Note that if you are using datareader , you can't do paging in datagrid. For that use datasets.
|
|
|
|
|
What about ASPRepeater, can i use pagesize, if can help give me an example.
Thanks
Socheat
................
|
|
|
|
|
Hi,
Repeater doesnt support paging. so better u use datagrid of gridview as both of them having functionality of paging which reduce a lot of coding overhead.
And if you are stick to use repeater then you have to put separate linkbuttons to navigate between pages and write your own logic to fetch data from the database to display in the page. This idea is I think not good to implement as per my experience.
I hope you got the idea.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
First make AllowPaging="True" and PageSize="10" and use this:
Protected Sub GridViewUser_PageIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewPageEventArgs) Handles GridViewUser.PageIndexChanging
Try
GridView1.PageIndex = e.NewPageIndex()
BindGridView()'Bind GridView
Catch ex As Exception
End Try
End Sub
Hope this helps u...
|
|
|
|
|
I don't understand, what is GirdView1? if i using ASPRepeater, where i can use next link or previou?
................
|
|
|
|
|
a gridview control is found in the ASP 2.0 version under the "Data" header of the toolbox.
if u r using ASP 1.1 the name would be "Datagrid".
these controls are pre coded to display data, allowing you to page, and even support update commands directly..
A repeater is a type of a template control, wherein you specify the look and feel of the control, and along with it do pretty much coding to display data.and the paging functionality would also have to be coded...
so, its recommended to use the DATAGRID or GRIDVIEW..
i hope u get the idea now..
Kunal
|
|
|
|
|
Yes i got it now, if i have more i'll contact u.
Socheat
................
|
|
|
|
|
GridView control is present in the ASP.NET 2.0 which replaced datagrid control in ASP.NET 1.1
Yes you can use repeater control for the same
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I have been attempting to add a Confirmation Popup to a Button that comes from a ButtonField in a GridView. I have successfully identified the Button and added the Javascript with the code below. When I press the Button, a Confirmation Popup comes up with the "Ok" or "Cancel" buttons as usual. The problem is that when I press the "Ok" button….no post back is made. I can't figure it out. Is there some kind of special consideration that I missed with adding this kind of confirmation to a Button from a ButtonField?
Private Sub gv_MaterialGrpLegacy_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gv_MaterialGrpLegacy.RowDataBound
...
Dim RowButton As Button
RowButton = e.Row.Cells(0).Controls(0)
RowButton.OnClientClick = String.Format("javascript:return confirm('Are You Sure You Want To Remove This {0}?');", "")
Thanks to all that have help me in the past, and those who can help me with this!
|
|
|
|
|
I am using this, and its working fine.
<asp:imagebutton runat="server" id="ibtDelete" imageurl="../images/icon_deletepermenant.gif" causesvalidation="false" commandname="Delete" commandargument="<%#Eval("SiteID")%>" alternatetext="Permanently Delete Website" borderwidth="0" onclientclick="return(confirm('Are you sure you want to delete this Website permanently?'))">
With Regards,
Mayank Prajapati
MCP, MCTS
Module Leader
JCTWeb India
www.jctweb.com
|
|
|
|
|
i am using this and its working fine
<asp:ImageButton runat="server" ID="ibtDelete" ImageUrl="../images/icon_deletepermenant.gif"
CausesValidation="false" CommandName="Delete" CommandArgument='<%#Eval("SiteID")%>'
AlternateText="Permanently Delete Website" BorderWidth="0" OnClientClick="return(confirm('Are you sure you want to delete this Website permanently?'))" />
With Regards,
Mayank Prajapati
MCP, MCTS
Sr. Software Engineer
JCTWeb India
www.jctweb.com
|
|
|
|
|
michaelastewartmas wrote: Dim RowButton As Button
RowButton = e.Row.Cells(0).Controls(0)
RowButton.OnClientClick = String.Format("javascript:return confirm('Are You Sure You Want To Remove This {0}?');", "")
Try binding 'Click' or 'Command' event to button which executes on the server when button is clicked. e.g. -
RowButton.Click += new EventHandler(this.RowButton_Click);
|
|
|
|
|
Hi,
Try to get the return value. If the user clicks OK button, it will be true, otherwise false. Postback only happens if it is true.
Meeram395
|
|
|
|
|
I am using Visual Studio 2005 and programming with VB.Net
The problem is that, I am using a menu in the main page and when i click on this menu it loads a websuercontrol. In this websuercontrol there is a dropdownList "i checked its autopostback property" but when i choose one of the items in this dropdown list the webusercontrol disappears, and i don't want that.
Please tell me how to solve this probelm
yasso
|
|
|
|
|
For every postback the page is recreated from the original markup. If you want your user control to stay on the page, you have to add it in every postback.
---
single minded; short sighted; long gone;
|
|
|
|
|
and how can i add it in every postback, by the way i have 5 menus and each one loads a different webusercontrol.
Thanks for ur help
yasso
|
|
|
|
|
in the Page_Load event...
<< >>
|
|
|
|
|
I would bulid a switch in your page load, to detect what user is who, and set what visible you need them to see.
|
|
|
|
|
i configured a webserver right in the company to host pages i developed for them.
when i try accessing the site by http://fedexghana.com (short url), i get an error but i can access it by the full url (http://www.fedexghana.com). please, anyone with the solution
i realised that most sites can be access via a short url.
i most thankfull to anyone who help me, for i really need it
leo1
|
|
|
|
|
I think that you have only added the host header name for the subdomain www.fedexghana.com in the web site identification for the site. Also add the host header name for the domain itself: fedexghana.com.
---
single minded; short sighted; long gone;
|
|
|
|