|
hi
i need help in datagrid can any one help me its urgent
i have a datagrid with thre editable dropdowns those are for hour min and AM/pM.
out of datagrid iam harcoding those listitems.<as:listitem xmlns:as="#unknown">1 and so on.....
inside the datagrid when i click edit iam able to get listitems and dropdowns,but not the item of dropdown is selected which is in datagrid before edit is clicked.
Note:these listitems are not fetched from database
i think iam clear.
Help me out
Thanks in advance.
|
|
|
|
|
csp wrote: its urgent
No, it really isn't. It may be for you, but not for the people offering to do your job for free. I just checked.
There's a drop down inside the datagrid when it's not in edit mode ? I am not sure that you can get that value, what's the point of that ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi
I am using tables in a masterpage to set my general layout.
The problem I have is that when I set the length of the rows to 80% in IE it looks fine but in FF they are very short.
Why would this be?
Is there a problem with narrowing tables in FF?
thanks
|
|
|
|
|
IE and FF do not play the same. You need to find CSS that works with both, or detect your browser and change it accordingly.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hai,
i am using
MailMessage mailMessage = new MailMessage();
mailMessage.From = "Magesh@Test.com";
mailMessage.To ="sugunaavthy.s@afxisi.co.in";
mailMessage.Subject = "Hi";
mailMessage.Body = "Hi This One Is For Testing";
SmtpMail.Send(mailMessage);
it work fine.but i want to know how to send mail on (ex:25/7/2008) any date.if know the
answer replay to me..
thank you.
|
|
|
|
|
This has nothing to do with ASP.NET. And, you can't, at least not using anything built in. You need to write code, such as a service, that watches the time and sends it when you want it sent.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi suguna...,
This is Magesh,
See ur From address the same one ...,
Ya u can send mail at particular date..,
For that u have to fire the schedule task...,
In that u have to give the mail send event have to fire on which date...,
Then it will send the mail to particular id
Keep smile always
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
hai mahesh,
i am using sql server,
string date = string.Format("{0:MM/dd/yyyy}", DateTime.Now);
string senddate="27/7/2008";
if (senddate==date)
{
MailMessage mailMessage = new MailMessage();
mailMessage.From = "";
mailMessage.To = "";
mailMessage.Subject = "hai";
mailMessage.Body ="hello";
mailMessage.BodyFormat = MailFormat.Html;
mailMessage.Priority = MailPriority.High;
SmtpMail.Send(mailMessage);
}
i wrote code in page_load event.i host the project in server it will work or not.
replay...thanks .
|
|
|
|
|
I love it when I tell people something and they ignore me.
If you put the code in your page load, then it will send right away. There is no way round this, you need to find a way to queue the mail outside your page. This code will not send code on any day except the date given, it plainly won't wait to send it on that day.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: I love it when I tell people something and they ignore me.
I can understand your feelings. I am your silent follower for the last 2 years in codeproject. Now I remember a proverb. It is something like this “a wise man will be a fool among the fools”
|
|
|
|
|
*sigh* yeah, isn't that the truth.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I just want to give you a message that there are so many people here who consider you as a hero.
|
|
|
|
|
Are you hugging the screen?
|
|
|
|
|
"If this is a sarcastic reply then I'm smiling to myself as you know what these people are like
If this is a serious demand then I'm def not smiling!..."
|
|
|
|
|
Hi suguna,
Try like this,
String curdate = DateTime.Now.ToString();
string senddate="7/25/2008";
DateTime ld = Convert.ToDateTime(curdate);
if (ld.Date == Convert.ToDateTime(senddate))
{
Try Here ur Code
}
May be this one will help u
By the way sorry MR.Graus We know ur genious...,
But we are not that much genious, we are not getting what ur telling...,
What to do still we are in basic not that much high level like u...,
But sure later we too like u...........,
Smile curve that sets everything straight...,
Keep in touch,Dont be mood out of if they wont reply ur answers...,
Keep going on we need ur knowledge
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I have a listbox with multiple selection of languages.
My list box contains 6 list items with "All, German, English, Seriban, Spanish, French". when I select German and English or any other language the list item "All" should not be selected (either it has to be grayed out or should not be selected, if the user tries to select). But now I could be anble to select the listitem "All" when I select other languaaes.
Could any one tell me how to do this!
Thanks
|
|
|
|
|
with javascript, handle the event of an item being selected and force the 'all' item to be unselected if necessary.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
hi every one
actually i have a usercontrol in which i have 4 testbox and one file upload control .
now i have a dropdownbox at page 1 .when a user select any value as 1, 2, 3 from dropdownbox according to this value at page 2 usercontrols created as if select 3 then 3 pairs of textboxes and fileupload ganerate.
and then user can submit his details and image .at page 2 and at page 3 all the data of page 1 page 2 i want to show at page 3.
so plz tell me how to save the image at page 2 save in a folder sothat i can retrive it at page 3.
Thanks...
Gaurav
|
|
|
|
|
I'm not sure I understand the issue. You save the file by saving it. The issue is, how do you track which user it belongs to ( perhaps use the session Id as a filename ? )
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
actually i want to save the image in a folder while i am using usercontrol .
and usercontrol have the fileupload control .
so it is not possible for me to save the image .
tell me .
|
|
|
|
|
Hello everybody,
Again an open question. If you use resource files, for example for localizing your app, what structure do you use? In a website there a multiple types of texts, labels near input fields, page titles, error messages, button texts, explanatory texts etc etc.
Do you have a subdivision in your resource files, ie: labels.resx, titles.resx etc, or do you put all the strings into one big resource file?
Is there a difference in performance between the two different structures?
Like to hear your ideas.
thanks,
Gidon
|
|
|
|
|
Hi all
I have a web user control where i have placed a radcombo and an external javascript isiri2901.js.
<%
@ Control Language="VB" AutoEventWireup="false" CodeFile="AutoComplete.ascx.vb" Inherits="Controls_AutoComplete" %>
<%@ Register Assembly="RadComboBox.Net2" Namespace="Telerik.WebControls" TagPrefix="radC" %>
<script language='javascript' type='text/javascript' src="../Scripts/isiri2901.js"></script>
<script type="text/javascript">
function ChangeTextDirection(obj)
{
var Name=document.getElementById('<%=RadAutoComplete.ClientID %>');
alert(name.Value);
return false;
}
</script>
<
radC:RadComboBox ID="RadAutoComplete" runat="server" Width="150px" Height="150px"Skin="ClassicGold" AllowCustomText="True" EnableLoadOnDemand="True"ExpandEffect="Fade" SkinsPath="~/RadControls/ComboBox/Skins" OnClientFocus="ChangeTextDirection(this)" EnableItemBindingExpressions="False" MarkFirstMatch="True"></radC:RadComboBox><asp:RequiredFieldValidator ID="cvalName" ControlToValidate="RadAutoComplete" Display="Dynamic" runat="server">*</asp:RequiredFieldValidator>
My issue is that iam not being able to return the client id of the radcombo. It is retuirning undefined. I need to return the ID and use it as a parameter to the JS. Please note that in the same aspx page i might have several web user controls and for each one of those i need to get the id and send it to the JS.
Any help and thanks in advance.
|
|
|
|
|
samerh wrote: function ChangeTextDirection(obj)
{
var Name=document.getElementById('<%=RadAutoComplete.ClientID %>');
You have already object of your combo control in function.
function ChangeTextDirection(obj)
{
alert(obj.Value);
return false;
}
Regard
Khan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Already tried it also. Giving not defined also. Starnge!!!!!!1
|
|
|
|
|
Check out ID of control in view source file.What is it?
please don't forget to vote on the post that helped you.
|
|
|
|