Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~18.0K People Reached
Favorite Forums
Favorite Tags

54 Posted Topics

Member Avatar for bylandsend

Actually your code is doing a Partial PostBack...But Your Label is outside of UpdatePanel....so upon partial postback only Contents inside of UpdatePanel will be update and not the Label Text which is outside or UP. Move your Label inside the UP and you will see the appropriate text.

Member Avatar for arun1123
0
3K
Member Avatar for nirveshverma

1: not sure if you want that regularExpression for email. If you select RgexValidator in Designmode and look at ValidationExpression propertie you can select Internet Email address [CODE]i.e. \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*[/CODE] 2: You BirthDate validator had Value 1970-1999 but your error message says 1900-1999.

Member Avatar for umamahesh2020
0
155
Member Avatar for ranu jain

set breakpoints and see whats going on and where does the execution fails: Modify your catch like this: [CODE]Catch ex As Exception MsgBox(ex.Message) End Try[/CODE]

Member Avatar for crishjeny
0
161
Member Avatar for MaSSaSLaYeR

Did you set breakpoints and see what code is executed exactly and values assigned to the variables. e.g.: [CODE]if (row.Cells[0].Text == "Topic")[/CODE] There you are accessing first Column, so what is the text value? Is that your first column? Can you share your DV markup?

Member Avatar for MaSSaSLaYeR
0
166
Member Avatar for farooq82

What is the exact problem? In the RowCommand method you can do a FindControl for the Quantity TextBox and get/set the test like: [CODE]Dim tb As TextBox = DirectCast(row.FindControl("QunantityTextBox"),TextBox)[/CODE]

Member Avatar for guru_sarkar
0
134
Member Avatar for b9678123

You might want to look into Ajax ModalPopupExtender control as shown here: [url]http://www.aspdotnetcodes.com/Ajax_ModalPopup_PostBack_GridView.aspx[/url] You might have to convert your ButtonField to TemplateField with normal button control. [url]http://dotnetslackers.com/Community/blogs/bmains/archive/2007/02/17/Modal-Popup-in-Gridview.aspx[/url]

Member Avatar for sundarchum
0
384
Member Avatar for rayda

Is your second computer and server linked i.e. are they in intranet or you want to access it via internet? What is your server configuration? You might want to check to see if this is of any use: [url]http://www.lullabot.com/articles/use-dynamic-dns-host-website-your-laptop[/url]

Member Avatar for guru_sarkar
0
160
Member Avatar for rafaele-elvis
Member Avatar for new SE

You can try setting the property - Display="Dynamic". Another options you have are: 1: ValidatorCallOut control: [url]http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ValidatorCallout/ValidatorCallout.aspx[/url] 2: Use ValidationSummary control to popout error messages: [url]http://www.dotnetfunda.com/tutorials/controls/validationsummary.aspx[/url] 3: use jquery validation plugin. But this will be client-side only. You still need server-side validation.

Member Avatar for guru_sarkar
0
96
Member Avatar for bernard_bear

It seems to me the date format you are using: Try 1987/18/10. If that works then you the date format on you machine is yyyy/dd/mm.

Member Avatar for guru_sarkar
0
47
Member Avatar for Edwin Ramokolo

Ask your host the format of the connectionstring you need to use to connect to your database. You might have to create a user using their DB management feature.

Member Avatar for guru_sarkar
0
140
Member Avatar for ranu jain
Member Avatar for AngelicOne

FYI: One can use EmptyDataTemplate of GV: Ref:[url]http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.emptydatatemplate.aspx[/url]

Member Avatar for guru_sarkar
0
92
Member Avatar for bhaumik1987

1: so you mean it's erroring out on this line? [CODE] int paymentID = searchFields["PaymentId"].ToString() == "" ? -1 : Convert.ToInt32(searchFields["PaymentId"].ToString()); [/CODE] Set breakpoint and see what is null "searchFields" or individual item? 2: Also one other thing I noted is : [CODE]searchFields["txtCCLast4"] = txtCCLast4.Text;[/CODE] searchFields["txtCCLast4"] is not what you …

Member Avatar for guru_sarkar
0
165
Member Avatar for ranu jain

Two ways: 1: You can write some script in sql to run everyday, which will check all user's whose creationDate is older than 2 days and set the IsLockedOut to true. I don't have code or much idea on how it can be done but something to think about. 2: …

Member Avatar for ranu jain
0
108
Member Avatar for ranu jain

[QUOTE]the problem is string userName is always taking null value. [/QUOTE] 1: do you see "user" querystring parameter in the url in the status bar at the bottom of your browser, when you hover over the Manage link? 2: Did you set breakpoint and see if it is userName that …

Member Avatar for ranu jain
0
97
Member Avatar for srky

Was wondering if you can use OnClinetItemSelected property of AutoCompleteExtender to execute a js function which in turn calls some page Method or causes postback.

Member Avatar for guru_sarkar
0
64
Member Avatar for subhankar02dey

In that case I have to options for you: 1: Show Select Button and let user click that instead of your bookname. Then in the GV SelectedIndexChanged event, you can redirect the user to the page of your choice and pass appropriate bookid as querystring parameter. 2: You extend the …

Member Avatar for siju kuriakose
0
3K
Member Avatar for srky

For the Textbox string options you might want to look into Ajax AutoComplete control like show here: [url]http://www.asp.net/ajax/ajaxcontroltoolkit/samples/autocomplete/autocomplete.aspx[/url] For the DropDown values, use TextBoxChanged Event to rebind the DDL.

Member Avatar for guru_sarkar
0
77
Member Avatar for yennh

[QUOTE=yennh;1341520]I am using [COLOR="Red"][B]aspx.cs [/B][/COLOR]to create a login page. I would like to create a remember me cookie using a checkbox that will help to remember user ID but will also allow it to be destroy if a different user ID wants to log in with the same computer, but …

Member Avatar for guru_sarkar
0
77
Member Avatar for madheswaransuji

[QUOTE=madheswaransuji;1339735]i need log in page code using asp.net[/QUOTE] You can start here: [url]http://www.asp.net/web-forms/security[/url] [url]http://www.codedigest.com/Articles/ASPNET/112_Implementing_Forms_Authentication_in_ASPNet_20.aspx[/url]

Member Avatar for guru_sarkar
0
120
Member Avatar for andyherebi

So what is it exactly you are trying to do ? Do you want to pass Textbox value in SelectQuery or Insert that value of Textbox in the Database ? Not sure there is a simple toolbox option to deal with MySql database.

Member Avatar for sworld
0
83
Member Avatar for deven_a76

Make sure you have reference to System.Configuration added i.e. Imports System.Configuration

Member Avatar for deven_a76
0
144
Member Avatar for woolm110

Here is a link with the required login. Although it uses SqlConnection and SqlCommand...but you can simply replace that using OleDB.. [url]http://www.codedigest.com/Articles/ASPNET/112_Implementing_Forms_Authentication_in_ASPNet_20.aspx[/url] Oledb: [url]http://www.startvbdotnet.com/ado/msaccess.aspx[/url]

Member Avatar for woolm110
0
243
Member Avatar for mystic2230

we need to see some code for your UC and the page referencing it. Can you check if you have any (client-side) validation that might be failing and not letting postback to occur.

Member Avatar for guru_sarkar
0
72
Member Avatar for manimala.uma

You should look for FormsAuthentication: Check this: [url]http://www.codedigest.com/Articles/ASPNET/112_Implementing_Forms_Authentication_in_ASPNet_20.aspx[/url] Although it uses SqlServer DB ...the idea remains the same except the way how CheckUser() method is implement that user System.Data.SqlClinet classes. Check this: [url]http://www.codeguru.com/csharp/csharp/cs_network/database/article.php/c8477__2/[/url] [url]http://msdn.microsoft.com/en-us/library/ms973871.aspx[/url]

Member Avatar for nazee
0
2K
Member Avatar for simmy7

I just copy Pasted your code, added my own DataSource and it works. It shows me alert 'hey' message when i click the checkbox to check/unchek an item. How are you dataBinding your CBL?

Member Avatar for Ramesh S
0
694
Member Avatar for ricksvoid

[I][QUOTE]Please no hour/rate equations. This wont work for me as i am a recent grad and this will take me twice as long to develop as would a seasoned professional.[/QUOTE][/I] Thats true. You might need more time than a professional but ideally cost should not vary much for the end …

Member Avatar for guru_sarkar
0
142
Member Avatar for sonia sardana

You must intialize ds e.g. DataSet ds = new DataSet(); Check this eg: [url]http://msdn.microsoft.com/en-us/library/bh8kx08z(VS.80).aspx[/url]

Member Avatar for guru_sarkar
-1
103
Member Avatar for sandeep_1987

check this: [url]http://oreilly.com/catalog/progaspdotnet/chapter/ch14.html[/url]

Member Avatar for sandeep_1987
0
84
Member Avatar for apgriffiths

Check this: [url]http://msdn.microsoft.com/en-us/library/6y92e1ze(VS.80).aspx[/url] You will have to use ItemDataBound Event like shown below: [CODE] protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { DataRowView dv = (DataRowView)e.Item.DataItem; if (dv.Row["Team"].ToString() == "LiverPool") { //e.Item.BackColor = Color.YellowGreen; e.Item.CssClass ="liverpool"; } } } [/CODE]

Member Avatar for apgriffiths
0
720
Member Avatar for Anupama G

or you can do that in markup... check in GV Properties Window for RowStyle-> Set the Height your GV markup will look something like below: [CODE] <asp:GridView ID="GridView2" runat="server" ..> [B]<RowStyle Height="30px" />[/B] <Columns> ...your columns </Columns> </asp:GridView>[/CODE]

Member Avatar for guru_sarkar
0
115
Member Avatar for jerMAn
Member Avatar for guru_sarkar
0
282
Member Avatar for phoenix_dwarf

[QUOTE]Oky all is well now but now i ran into the problem of selecting certain rows and only retrieving those rows data[/QUOTE] what is the problem.

Member Avatar for phoenix_dwarf
0
407
Member Avatar for anup.maverick

1: Sample path: [CODE]C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data[/CODE] 2: Connection String varies depending on how your hosting provider gives you access to the Db. Contact them to get the format. Additionally check here: [url]http://www.connectionstrings.com/[/url]

Member Avatar for guru_sarkar
0
93
Member Avatar for thilinam

[QUOTE]Because we have to implement according to the class definitions given by our analyst.[/QUOTE] Can you explain that a bit. Do you mean you don't want to use default database used by SqlMembership Provider?

Member Avatar for guru_sarkar
0
150
Member Avatar for mldardy

The exception is of type DirectoryNotFoundException. So check before upload if the particular directory exist. Also are you using asp.net Upload Control or share your markup as well. You code looks more complex than it should to do a file upload.

Member Avatar for guru_sarkar
0
611
Member Avatar for mansi sharma

Do you mean custom controls or normal Web user controls? The reason to add entry to your web.config is you don't have to register them on every single page you are planning to use them on. This shows that: [url]http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx[/url]

Member Avatar for guru_sarkar
0
132
Member Avatar for sandeep_1987

modify your sitemap url like below: [CODE]<siteMapNode url="" title="" description=""> <siteMapNode url="http://www.cnn.com" title="CNN" description="CNN News" /> <siteMapNode url="http://www.bbc.com" title="BBC" description="BBC News" /> <siteMapNode url="http://www.reuters.com" title="Reuters" description="Reuters" /> </siteMapNode>[/CODE]

Member Avatar for guru_sarkar
0
75
Member Avatar for santhoshvarma.a

This is a nice reference: [url]http://oreilly.com/catalog/progaspdotnet/chapter/ch14.html[/url] [url]http://www.c-sharpcorner.com/UploadFile/Santhi.M/PassingValuesfrmUCtoASPX11212005050040AM/PassingValuesfrmUCtoASPX.aspx[/url]

Member Avatar for guru_sarkar
0
52
Member Avatar for ritu verma

--->Explain me the viewstate with the coding? [url]http://www.codeproject.com/KB/aspnet/BegViewState.aspx[/url] --->Suppose in textbox1.text contains ASP.net & I set EnableViewState to False of textbox,so when i click on button, textbox will still contains the text or not. Yes..it will. Why ? Check this: [url]http://aspadvice.com/blogs/joteke/archive/2004/03/15/2273.aspx[/url] --->Where can i see the above line in ASP.net?????/ …

Member Avatar for guru_sarkar
0
92
Member Avatar for omotoyosi

Not sure if that is doable with default ValidationSummary. May be you need to write your own Custom Summary control. Sorry ..no idea about that as well.

Member Avatar for guru_sarkar
0
76
Member Avatar for cVz

Check if this helps: [CODE] JS: <script type="text/javascript" language="javascript"> function validate(sender,args) { args.IsValid = false; var tb = document.getElementById('txtInput'); if (args.Value.match(/^\w{6}\d{6}$/)) { args.IsValid = true tb.style.backgroundColor = "white"; tb.style.color="green"; } else { tb.style.backgroundColor = "red"; } } </script> Markup: <asp:TextBox ID="txtInput" runat="server"></asp:TextBox> <asp:Button ID="btnSubmit" runat="server" Text="Button" /> <asp:CustomValidator ID="CustomValidator1" ControlToValidate="txtInput" …

Member Avatar for guru_sarkar
0
1K
Member Avatar for matthewcar

--> IIS and .NET Framework is what you will need First as mentioned in previous post Web PI will help you get all that. --> For IDE you can use Visual Studio 2008 Professional if you are planning to purchase one....or Visual Web Developer 2008 (which is free. It has …

Member Avatar for guru_sarkar
0
197
Member Avatar for athalia

You should be using SqlConnection and SqlCommand objects to do this insert. On the button click follow the code in this link below for method Insertdata(). Your insertString will change a bit to your fields and values: [url]http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson03.aspx[/url] [code]//adjust accordingly string insertString = @" insert into Categories (BikeID,BikeName,Quantity,Price) values (txtBikeId.Text, …

Member Avatar for athalia
0
116
Member Avatar for nachtluce

Everytime you click a button upon postback your LogoWidth is reset to 150 so you won't see the effect after first click. Two options: 1: make LogoWith static i.e. public static void LogoWidth=150; 2: Modify your code like below: [CODE]protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { this.LogoWidth …

Member Avatar for padtes
0
560
Member Avatar for archanaj39

Can you check if you have properly installed .NET FrameWork ..2.0 ,3.5. Go to Framework directory and see if you have those csc.exe: On XP path could be...:(check appropriate path on your laptop) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Member Avatar for suryasasidhar
0
123
Member Avatar for garyhumf

Did you come across this one ? [url]http://www.beansoftware.com/ASP.NET-Tutorials/FormView-Control.aspx[/url]

Member Avatar for garyhumf
0
540
Member Avatar for mldardy

Not sure if the code you provided above is exactly the same or messed up in the editor but look the foreach loop code below. Not the debugging statement: [CODE]foreach (ShoppingCartItem item in objCart.GetItem()) { Response.Write(item.Name.ToString()+ "<br//>"); if (item.Name == "Real Estate Forms 2d") { objCart.TaxRate = 0.06; } else …

Member Avatar for guru_sarkar
0
126
Member Avatar for facadie

Looks authentication Mode in your web.config is set to Windows. you web.config should have Forms Authentication enable like below: <authentication mode="Forms" /> Check this: [url]http://msdn.microsoft.com/en-us/library/xdt4thhy.aspx[/url]

Member Avatar for guru_sarkar
0
113

The End.