12,085 Topics
| |
Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)? | |
Plz Help me I'm creating a form-View in asp.net 2010 and successfully upload all my data on the Form View but my problem arise when i edit the data in the form, it does not update the data. Following is my code. <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" … | |
Hey all, this is kind of a 3 part question/request. I have a contact form where I want online users to fill in their name, email and message and press submit to send that information to the site admin. I want to do 3 things with this. 1) I want … | |
![454d3e17a16836952cb76f6c54023cc7](/attachments/large/3/454d3e17a16836952cb76f6c54023cc7.jpg "454d3e17a16836952cb76f6c54023cc7") I am trying to create a form something like this, but inside the box container i will let the end-users to do the survery. How to do this? Thanks for in advanced. | |
Any guidelines that able to print customize a page with custom header and data passing? I found a solution, but that is print the repeater/gridview without customize the page.. What i need is print a page with customization. ![36e1d0310329124ba8fce2070ac095ff](/attachments/large/3/36e1d0310329124ba8fce2070ac095ff.jpg "36e1d0310329124ba8fce2070ac095ff") The Red Cross indicates to remove while in print preview. … | |
ValidationExpression="^.*(?=.{7,})(?=.[a-zA-Z])(?=.*[\d])(?=.*[\W]).*$" This is the expression for the password, 1. At Least 7 2. Alphanumeric required 3. Special Characters But can i check the textbox must not be empty other than using RequireFieldValidator.. Due to i going to apply Ajax ValidatorCallOutExtender, is hardly to display both validator.. | |
Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) … | |
Hi DW I've created a website in Visual Studio under the VB.NET and I tried to publish the website to my wamp server on my computer but when I try to access my website via webbrowser it shows something like index of/ then list all my web files it does … | |
i am in bs(It) and now i am intersted in making my final project in asp.net any one can help me which would be best? | |
Hi there, what the best way to add a layout, simply to manage, to my web site asp.net? Are masterpages the best solution? Can i get some example of simple editable layout? Thanks for you help | |
Error occured: Procedure .. has too many argument specified I have an issue that when i Update the record there is error "Error occured: Procedure .. has too many argument specified". It is my Store procedure SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[web_usp_empData_Update] @id bigint, @Code … | |
hi, I have created a form (in ASP.NET and C#) which have 5 dropdown 1.3rd dropdown fill on the basis of 1st n 2nd dropdown value 2.5th dropdown fill on the basis of 4th dropdown value I applied onselectedindexchanged event on 2nd and 4th dropdown and both are autopostback true.All … | |
Hi everyone, I'm a newbie in VB.net I would like to ask if there is a code or equivalent code or script like $_SESSION variable of PHP in VB.Net Thanks; | |
please help ive been looking for the solution for days. i have two date pickers (dbplite) one is for start date and one is end date. also i have a dropdownlist with the list of addresses of persons records. also a grid view to display record. i also have a … | |
hi all, i,ve installed IIS,visual web developer 2008 express edition, but when i started to create new ASP.NET Website named www.example.com ;a message has been displayed said : unable to create http://www.example.com . Bad Gateway. how to fix this. thanks | |
Hi there, in am new with Webmatrix and Visual studio 2013 and i would like to create the following : (for all user of the website) 1) a classic form contact in asp.net razor : email name subject message If is possible this message wil send an aoutomatic mail to … | |
this is my code for binding data from data base to text box protected void Page_Load(object sender, EventArgs e) { label.Text = System.DateTime.Now.ToLongDateString(); //// /// date label label.Text = System.DateTime.Now.ToLongDateString(); appSession = (String)Session["applicantEmail"]; lblusername.Text = (String)Session["applicantName"]; lblusernamepic.Text = (String)Session["applicantName"]; String str = " SELECT tblPersonalInfo.firstname, tblPersonalInfo.lastname, tblPersonalInfo.fathername, tblPersonalInfo.country, tblPersonalInfo.city, tblPersonalInfo.phoneno,tblPersonalInfo.mobno, … | |
i successfully designed and filled my Crystal report via code not via wizard. i added Crystal report via addNEWITEM i added dataset in aap_code via addNEWITEM i added datatable into dataset via addNEWITEM Via code i made report and filled dataset and table with data Run and display. Successfully done. … | |
i wanna use fileupload and write this image to access database. How can i do this with c#? Thanks. | |
MSDN recommends disposing any variable of type System.Drawing.Brush before its last reference is released. Otherwise, the resources it is using will not be freed until the garbage collector calls the Brush object's Finalize method. As we know, local variables are destroyed automatically when the control flow goes out of the … | |
Hello, I am using IIS 7 with SSO - single sign-on connections in order to connect to a web app. After a certain amount of time (12 hours) I get a timeout message - as I should. But when I try log back in I get an error message, again … | |
it's confusing, see: 1. I added a dataset in app_code folder and then added a dummy datatable (field names similar to one in database), so it is visible to Crystal report in ADO.net datasets list. 2. Dragged all field names from Datatable to Crystal report. 3. Now as i added … | |
sir,can you please tell me about the DataMember,DataSourceID,DataTextField property of checkedBoxList control | |
I have hese two classes which are not in the same folder. Coffee.aspx.cs is in folder named Pages and the other class ConnectionClass.cs is in other folder named App_data can anybody help me to correct the code i ma having the errors see the code: i am getting these errors … | |
I'm trying to disable validation for one spectacular field, but I'm not getting it to work. I made a simple login-system, and I want the users to be able to change their data, without filling out everything. I managed to preload the user variables to the textboxes, so if they … | |
hey I am new in c# and ASP.NET I created a form in which there are 4 dropdown list like on the basis of ProjectID dropdown list FileID comes into FileID dropdown.Second is on the basis of FundType dropdown list FundID comes into FundID dropdown list.All are working fine but … | |
Hi all, I am new to asp.net programming and i have to design a website which should accept values from the user and store it in the databse on a button click event. I am not able to do it In fact i have written a code for button click … | |
this my code in aspx.. [code] <asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound" OnRowEditing="GridView1_RowEditing" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnRowCommand="GridView1_RowCommand" > <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:CheckBox ID="allgc" runat="server" /> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Action" ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="gdviewlnk" runat="server" >View</asp:LinkButton> / <asp:LinkButton ID="LinkButton1" runat="server">Edit</asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> [/code] when i going to click the view linkbutton get … | |
I have a repeater in my webpage which containing Buttons as well.. <asp:Repeater ID="rptView" runat="server" OnItemDataBound="rptView_ItemDataBound"> <HeaderTemplate> <table border="0" width="90%"> <tr class="RepeaterHeader"> <th align="center">Date</th> <th align="center">Category</th> <th align="center">Description</th> <th align="center">Amount</th> <th align="center"></th> </tr> </HeaderTemplate> <ItemTemplate> <tr class="RepeaterData"> <td align="center"><%#Eval("CurrentDate") %></td> <td align="center"><%#Eval("Category") %></td> <td align="center"><%#Eval("Description") %></td> <td align="center"><%#Eval("Amount", "{0:C}")%></td> <td … |
The End.