|
You are right and I know this info. but the update panel doesn't see any control (update link button) inside other control(Gridview).
Mohammed Emam
.NET Developer
|
|
|
|
|
You can set it dynamically when update button click
please don't forget to vote on the post that helped you.
|
|
|
|
|
You mean handling this in the event
GridView_RowUpdating(object sender, GridViewUpdateEventArgs e)
if so, can you send code snippet?
Mohammed Emam
.NET Developer
|
|
|
|
|
Mohammed Emam wrote: You mean handling this in the event
GridView_RowUpdating(object sender, GridViewUpdateEventArgs e)
if so, can you send code snippet?
I don't know that this will work or not but I think it should work.
You have scriptManager on the page that has one method to register post back control.you can set control in this method
this is an example
GridView_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
ScriptManager sp = new ScriptManager();
Control cntr=(Control)sender;
sp.RegisterPostBackControl(cntr);
}
please don't forget to vote on the post that helped you.
|
|
|
|
|
I tried RowUpdating event but it does not work
but when I tried RowEditing Event it works
GridView_RowEditing(object sender, GridViewUpdateEventArgs e)
{
ScriptManager1.RegisterPostBackControl((Control)sender);
}
But it doesn't work for the first trial of editing any row.
I think when editing any row for the first trial, the register occurs
but be executed the next time you try to edit a row for the second trial.
so; calling this method ScriptManager1.RegisterPostBackControl is not valid in GridView_RowEditing Event also; but makes it semi work
Mohammed Emam
.NET Developer
|
|
|
|
|
Hi,
I am binding morethan 100 records in to a dropdownlist control in my web project.
If I click the dropdownlist, It is showing more than 25 data with vertical scrollbar.
It is not feeling good to look.
I want to customize the displaying records.
It should display only 10 records with vertical scrollbar.
What I have to do? Pls help me
Thanks in advance
Balasubramanian K.
|
|
|
|
|
hello guys,
i had done websetup of a website, everything is fine my website is working good but the problem arised when i found all the aspx etc., pages used by me are visible in the websetup floder. And anybody can modify using those files.....i am using VS-2005, i had not observed this in VS-2003(only dll's are visible).
Anybody please help me how to avoid showing all those aspx files.
jAgAdEeP.sUgGuLa
|
|
|
|
|
you can't publish a web site without publishing aspx files. So, anyone can edit them if they have access to the server.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello
How i can let the user who use my application when he click enter
so the button1_click event is fire
Thank for your help
Assaf
|
|
|
|
|
Well, I answered this for winforms, did you want the ASP.NET answer instead ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes for sure
please
Assaf
|
|
|
|
|
here[^]
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am binding morethan 100 records in to a dropdownlist control in my web project.
If I click the dropdownlist, It is showing more than 25 data with vertical scrollbar.
It is not feeling good to look.
I want to customize the displaying records.
It should display only 10 records with vertical scrollbar.
What I have to do? Pls help me
Thanks in advance
Balasubramanian K.
|
|
|
|
|
Hi, I develop an email application that runs fine. But it sends mails to Spam box of recepient and not to the Inbox. How do I rectify this cos i want it to be dilivered into the Inbox.
Here is my code snippet for the sendindMail Method.
private void sendingMail()
{
Dictionary<string, Stream> attachments = new Dictionary<string, Stream>();
if(NewFileUpload.HasFile)
{
attachments.Add(NewFileUpload.FileName, NewFileUpload.PostedFile.InputStream);
}
FacadeSystem.SendEmailMessage(emailToTextBox.Text, SubjectTextBox.Text, BodyTextBox.Text, attachments);
}
Here is my web setting for the MailSetting.
<system.net>
<mailsettings>
<smtp from="info@softsolcons.com">
<network host="mail.softsolcons.com" port="25" username="info@softsolcons.com" password="solutions">
Thanks
|
|
|
|
|
Probably because you're in Nigeria ? :P
You can't stop a spam filter from blocking your email in code, except by sending mail that doesn't look like spam. Does your reply address and display name match ? Do you have a bunch of names being mailed to at once ? Do you have words like ciallis ( or cia11is ) in your email ? The problem is the content, not the code.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Friends,
I need to develop CMS Tool in ASP.NET,can anyone tell me how to develop CMS Tool in ASP.NET with examples,i have searched in google but i can't able to get it.So please help me....
Thanks & Regards
Senthil Kumar
|
|
|
|
|
This question is not far from 'how do I build a car ?'
If you've taken a job to develop something where you have no idea where to start, shame on you, and shame on your client for being stupid enough to hire someone when they obviously do not have enough knowledge to supervise your work. I believe there are some CMS frameworks about, but either way, if you're asking this question, you should not be doing this for money.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks Mr.Christian Graus for your guidelines......
|
|
|
|
|
Explaining how to develop a Content Management System is far beyond the scope of a forum. There are some of the shelf products which would propbably be more suited to you. Also, DNN (Dot Net Nuke) may be an option as it requires minimal coding.
|
|
|
|
|
Start by employing a professional programmer...
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I am using asp.net 2.0 with C# in my web application.in in i used a IFrame to open another page in same page.
In IFrame page there is a button and in click event of that button i open another aspx page.but it open in within IFrame.
I need it should be open in new windows.
also that iFrame is not working in firefox.
can any one tell me solution so that i will fix my problems
thanks
|
|
|
|
|
You might want to take a look at this.
http://www.codeproject.com/KB/aspnet/uframe.aspx[^]
could be the answer.
JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************
|
|
|
|
|
Hi friendz,
I have one text box for date purpose
By clicking the image button, I can select the date and am assigning the date in to the textbox.
I am using javascript for date control only.
But I want to set the textbox as readonly.
If I set readonly, I could not read the value from the textbox.
User only can select the date, but not to be allowed to type in the textbox directly.
How it is to be done.
More over, It is possible in VS 2003 and Framwork 1.1
But I am not possible in VS 2005 & Framework 2.0
Pls help
Thanks in advance
Balasubramanian K.
|
|
|
|
|
BalasK wrote: By clicking the image button, I can select the date and am assigning the date in to the textbox.
I am using javascript for date control only.
But I want to set the textbox as readonly.
If I set readonly, I could not read the value from the textbox.
User only can select the date, but not to be allowed to type in the textbox directly.
when you want to set value in textbox,make textbox readonly property as false so value would be set and after that again you can set readonly property as true
regard
imran
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thanks for your reply. I will try according to this.
Balasubramanian K.
|
|
|
|