Search:
Type: Posts; User: nepalbinod
Search:
Search took 0.03 seconds.
-
Please post your markup and codebehind. Please also mention which language you are using.
-
You should have a look on connection pooling mechanism, as well.
http://www.dotnetspider.com/resources/4413-ADO-NET-Connection-Pooling-at-Glance.aspx
-
There are various methods to achieve this, out of which, I would recommend you to go with Globalization. Globalization needs a great deal of planning and takes a only a few extra lines of coding. On...
-
I'm afraid, those would work since values could have been changed since postback. :)
-
You might prefer using UpdatePanels for partial page updates/postbacks. Can you post your markup here?
-
Hey, that's not a valid argument and does not work, either.
-
You could have also used
ControlToValidate="txtAmt" ValidateWhenEmpty="true"
Hope that made sense. :)
-
-
Please change this
<asp:CustomValidator ID="CustomValidator1" runat="server" OnServerValidate="CustomValidator1_ServerValidate" ClientValidationFunction="CheckAmt"
ControlToValidate="txtAmt"...
-
I am sorry, FindControl is a method, not a property. That's right.
-
Please post your markup code so that we could have a look and see what's going wrong.
-
You should use DateTime.Parse and then assign it to the parameter you are passing to Oracle.
-
Then why not put a breakpoint on RowDataBound event and see what happens when the update button is clicked.
-
You would need to use some sort of spell checker component, which supports spanish (or is multilingual), like
http://www.telerik.com/products/aspnet-ajax/spell.aspx...
-
And instead of doing this,
If txtAmt.Text.Length > 0 Then
If IsNumeric(txtAmt.Text) AndAlso CDec(txtAmt.Text) > 10 Then
use Ajax Control Toolkit's...
-
And also, I do not appreciate the way the value inside a textbox is dealt.
Consider this line.
If IsNumeric(txtAmt.Text) AndAlso CDec(txtAmt.Text) > 10 Then
It would be...
-
First of all, if selectedindex is not 5, the CustomValidator should be valid, so change it to.
Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As...
-
Turn off HtmlEncode
<asp:BoundField DataField="EFFECTIVE_DATE" DataFormatString="{0:dd/MM/yyyy}"
HeaderText="Effective Date" HtmlEncode="false" />
Or,
-
That's your requirement. :)
Can you post the full code from the beginning, from "Page_Load(...". And also--Full markup of your GridView.
-
By "special coding", did you mean "Do I have to use findcontrol property in order to discover the dropdownlist which is inside the tabpanel?". If I got you right, yes you will need to use the...
-
Since ASP.net runs on server, it would not recognize and/or has no direct association with client peripheral devices such as printers. In order to allow clients to print from your web application,...
-
I find it hard to understand. Can you repost the question in simple English? :)
-
Your issue could be related to postback. Are you using an UpdatePanel, can you show the markup code you're using and the codebehind? :)
-
When you click button to save information to the database. On server side, you could just use the sum value instead of displaying it on TextBox3.
-
The business logic such as calculations and validation should not be missed on the server side, whatsoever. On the other hand, it's always overwhelming to code on client side due to it's tight...
-
As far as you can, you should always try to avoid using client side logic in your web application. Since you cannot "control" browser settings of your users, your logic could just simply be bypassed...
-
Hey, you should put semicolon on line endings, or else you will get syntax errors. Meanwhile, you should check if the control was properly cast before using it.
private void...
-
You should consider using Silverlight as an audio video player for your site.
http://silverlight.net/learn/quickstarts/audioandvideo/
http://forums.asp.net/p/1427965/3195286.aspx#3195286
-
First of all, your syntax is incorrect.
Should be
GridView1.Rows(0).Cells(0).Controls.AddAt(0, txt)
Thence try to cast the control, check it if it's not nothing, and then use it's...
-
Okay. :)
You can avoid table usage by not using it at all. Meanwhile, to gain some extra free bytes, you could give CSS Friendly Control Adapters a try.
http://www.asp.net/CssAdapters/
And...
-
Html, Head, Title, & Body are not intended to be repeated. They should appear just once in a document.
The page title and keywords should be no more than 200 characters. If more than that, some...
-
Apart from the above, client side validation could also prevent postbacks.
-
The registered tag prefix is "cc1", but you're using prefix "ajax". Change the above to
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
...
-
Some information already provided by mendhak.
When you load a document having HTML content in Excel, it shows a warning (Office 2007), but lets you open the document. If you make modification...
-
Hey, try this if it works:
<script language="javascript" type="text/javascript">
function SelectAllCheckboxes(GridControlID) {
var DOMGrid = document.getElementById(GridControlID);
...
-
Okay. Use this:
cdate(DateTextBox.text).ToString("yyyy-mm-dd hh:mm:ss")
or
DateTime.Parse(DateTextBox.Text)
-
Why do you want it coded on client side? You should be able to same thing from the codebehind. Remember, javascript could be turned off by users and could bypass your logic. Code server side. :)
-
It depends.Date format of ASP.net controls are culture centric. Likewise, if you take a look at result of database query, format will be served according to the current login's "Default Language"...
-
Gary's right. Looking at the Url
http://mydomain.com/mydomain/login.aspx?ReturnUrl=%2fmydomain%2fdefault.aspx
Your site is located in a directory called "mydomain".
Now,
-
Hi could you post the markup and code being used.
|
Click Here to Expand Forum to Full Width
|