|
who the hell ru ...
did i ask u to send me the code i know that u dont know .if u dont know keep quiet dont comment..
regards
venu
|
|
|
|
|
Although the response was poor and unjustified your reply is equally uncalled for.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Actually I do know, I could design and build such a control in my sleep - but don't expect any help from me.
Read the forum guidelines.
|
|
|
|
|
NeverHeardOfMe wrote: Read the forum guidelines.
Same to you.
HOW TO ANSWER A QUESTION[^]
"Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid."
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
What insult? What slap-down? What sarcasm? I just pointed out a fwe home truths.
|
|
|
|
|
yes i know that u dont know .i posted my question once again becuse i dint get any reply..
ur answer is unjustified .any way guys iam sorry if iam rude
modified on Wednesday, December 15, 2010 9:49 AM
|
|
|
|
|
A very poor and unjustified response.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I disagree. I think it was quite called for.
|
|
|
|
|
The sentiment is fine, the language and attitude are not.
HOW TO ANSWER A QUESTION[^]
"Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid."
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Well, if you can repeat your post, I can repeat my answer:
What insult? What slap-down? What sarcasm? I just pointed out a fwe home truths.
|
|
|
|
|
"No one gives a damn how urgent your requirement is"
"I could design and build such a control in my sleep"
I consider both of these statements to be unjustified, inappropriate and insulting. I don't live in a glass house and sometimes need others to point out my mistakes. I think it's time for you to drop this and take a break from the forums.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Fine. I won't darken your day again.
Goodbye.
|
|
|
|
|
I don't think I would have answered any differently... Demanding code is generally poorly received here.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Would expect nothing less from you.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: Would expect nothing less from you.
was that sarcastic? Then how is that different from another person?
|
|
|
|
|
I agree, He should not have reposted the question, If he aren't getting answer then It means members have not any clue about that, Reposting a same question again to force us to answer anyway isn't a proper way.
NeverHeardOfMe wrote: No one gives a damn how urgent your requirement is, and no-one is going to do your work for you. Make an effort to do it yourself, and then if you have a specific problem come back and ask about that.
|
|
|
|
|
hiren be cool try to think abt question and give answer .dont make comments on the question .
|
|
|
|
|
I'd leave well enough alone if I were you and stop posting on this. You are being very rude now and will never get any answers.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Re-posting ("bumping") is bad manners on on a forum: it is a bit like someone shouting "HEY SOMEONE ANSWER NOW - IT'S URGENT!", take a look at the site guidelines, they help new (and old) members ask a question, and reply .
I suggest you take a good long hard look at Mark's Answer (above mine). When he says you'll never get a reply, he means you'll *never* get a reply (well not a useful one ) if you get a reputation of having a bad attitude. I suggest you just rise above it, learn from your mistake and carry-on.
|
|
|
|
|
The easy way to do this is to use Javascript, and potentially make use of Canvas support. You can find more details, and a very cool implementation, here[^].
|
|
|
|
|
Hi guys,
Im working on a Asp.net web page(VS2003 V1.1) here i have a page in which there is a textbox1 which is readonly and it gets filled up with the system date and i have another textbox2 with a calendar in it so that the user clicks the calendar and chooses the date and the textbox2 gets filled with the chosen date, Now here comes the issue i have another textbox called textbox3 which actually gets populated with the difference between the dates chosen. so i have written my difference in date calculation on the method textbox2_TextChanged and i have set the AutoPostBack function as TRUE. But after the user selects the date on textbox2 and navigates to textbox3 the autopostback event doesnt get fired but instead after all these 3 textboxes i have a radio button which when checked i have written a code whose autopostback is set true. Now when the checkbox is checked the autopostback event of textbox2 gets fired after which the autopostback event of the checkbox gets fired.
On Whole the AutoPostBack event of Textbox2 gets fired only when the AutoPostBack of any other control gets fired.
My friends are advising me to code the difference of the dates in JavaScript instead of coding it on the TextChanged method of the textbox. But as you see im very Weak in Javascript. Below is my code:
Page.aspx
<tr>
<TD style="WIDTH: 211px; HEIGHT: 3px" width="211" height="3">Date</TD>
<TD width="70%" height="28"><asp:textbox id="txtDate" runat="server" CssClass="txtboxNormal" Width="96px" MaxLength="10"
ReadOnly="True"></asp:textbox></TD>
</tr>
<TR>
<TD style="WIDTH: 211px; HEIGHT: 34px" width="211" height="34">Date of Compliance</TD>
<TD style="HEIGHT: 34px" width="70%" height="34"><asp:textbox id="txtCompDate" runat="server" CssClass="txtboxNormal" Width="96px" MaxLength="10"
AutoPostBack="True"></asp:textbox> <IMG onclick="javascript:OpenCalendar('Date');" src="../DatePicker/calendar15.jpg" border="0"
id="IMG1" runat="server"></TD>
</TR>
Javascript for the calendar on the aspx page:
function OpenCalendar(field)
{
var MyArgs = window.showModalDialog("../DatePicker/aspdatepicker.asp", "null","dialogHeight:210px;dialogWidth:180px;status:no;resizable:no;center:yes");
var myDate = new Date();
if(field == "Date")
{
document.forms[0].txtCompliedDt.value = MyArgs;
}
}
Page.aspx.vb
Private Sub txtCompDate_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtCompDate.TextChanged
Dim diff As TimeSpan = Convert.ToDateTime(txtCompDate.Text).Subtract(Convert.ToDateTime(txtDate.Text))
txtDaysPendg.Text = Convert.ToString(diff.Days)
End Sub
Kindly advise me....
Thanx in Advance..
Tash
|
|
|
|
|
You should listen to your friends, and learn JavaScript. You cannot hope to be a serious web-developer if you don't. Posting back to the server in this scenario is the wrong approach.
|
|
|
|
|
Hi.. Thanx for the reply.. well thats what i have done.. finally completed it with javascript.. but still im amazed why doesnt the logic takeplace at the text changed method of the textbox. . will investigate on it, finally have done the task.
Thanx and regards,
Tash..
|
|
|
|
|
I have a user control with one gridview control on it and the code behind for the user control is shown below
protected void Page_Load(object sender, EventArgs e)
{
gvResults.DataSource = theSource;
gvResults.DataBind();
}
private List<string> theSource;
public List<string> TheSource
{
get { return theSource; }
set { theSource = value; }
}
When I pass value to the control on the page load I works fine with the data being displayed on the grid as shown by the code below
protected void Page_Load(object sender, EventArgs e)
{
string[] myData = {"10", "20", "30"};
DataPager1.TheSource = myData.ToList();
}
But when I try to do the same thing by clicking a button, the page shows no data
protected void SearchButton_Click(object sender, EventArgs e)
{
string[] myData = {"10", "20", "30"};
DataPager1.TheSource = myData.ToList();
}
DataPager1 is the usercontrol ID.
Any help will be appreciated.
|
|
|
|
|
You need to rebind the gridview in SearchButton_Click.
thatraja |Chennai|India|
Brainbench certifications Univotes are like kid's kisses don't reject it Do what you want quickly because the Doomsday on 2012 My childhood story
|
|
|
|