|
The article which you shown has a discussion board attached. Chances are more to get help if you use that.
|
|
|
|
|
Hi all
Im using VS 2003 for small web application i have a problem when im using fileuploader,i have some mandatory fields and im using labels for check the requried fields,when i click the submit button my file Uploader path is clear when mandatory field is left, i want to avoid the clear the path of file uploader when that kind situation pls help me to do this,
Thanks,
|
|
|
|
|
This is not possible. You can't write to FileUpload control.
|
|
|
|
|
There is some problem in validation because if any field which is mandatory left blank then it should not make server trip and when you click on submit it will take server trip so at that time path clear is very obvious.
So make sure about validations.
Reasons are not Important but Results are Important.
Swati Tripathi
|
|
|
|
|
|
You can Use RequiredFieldValidator of Ajax Which will popup an error message on lostFocus of that control.
try if not getting then reply.
Darshana Pathak
|
|
|
|
|
Hi friends.
I want to bind data by alphabets order.
Like this
A-G H-O P-V W-Z
abc hic per wwl
adc isk qrs wll
bsc jksl rjk xxs
ckl kal snn xvf
dik lmm tnn xgh
elk mdn unv ynf
fis nop vlls ygn
ghs ols vll zla
Start with A to G in one column,H to O second,P to V in third and W to Z in forth in DataList
please don't forget to vote on the post that helped you.
|
|
|
|
|
from where you are getting your data
The Developer - CEH
|
|
|
|
|
The Developer wrote: from where you are getting your data
From Sql Server database.
please don't forget to vote on the post that helped you.
|
|
|
|
|
use Order by Col1 asc,col2 asc,col3 asc ... etc
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Blue_Boy wrote: use Order by Col1 asc,col2 asc,col3 asc ... etc
I have only two field in DataBase Table
One is ID and Second one is Title.
Now,I want to bind title by Alphabets as I posted.
please don't forget to vote on the post that helped you.
|
|
|
|
|
use a loop to read data and then add each read data to the column u want to add to by alph.
The Developer - CEH
|
|
|
|
|
I got solution
My Sql Query Looks like this
select Title from tblLegalPracticeArea where title between 'a%' and 'h%'
..............
please don't forget to vote on the post that helped you.
|
|
|
|
|
you can use datalist.RepeatColumns to make a column into multiple and RepeatDirection which you can specify as vertical or horizontal.
|
|
|
|
|
Baran M wrote: you can use datalist.RepeatColumns to make a column into multiple and RepeatDirection which you can specify as vertical or horizontal.
I know that but we can not bind column by alphabets as I wanted.
Anyways,I have already done it
please don't forget to vote on the post that helped you.
|
|
|
|
|
I have a content page and two Master pages . Based on some condition I want to call one Master to the content page . For example C1 is a content page , M1 and M2 are two master pages based on some condition in C1(atloading of C1) page I want M1 or M2 to be called in C1 programmatically.
anyone please Help me out
Thanks in Advance
Kovuru Sreedhar
|
|
|
|
|
You can set the masterpage of any page at runtime in pre_init event like
protected void Page_PreInit(object sender, EventArgs e)
{
if (Request.Params[A1] != null)
{
this.MasterPageFile = "~/MasterPages/A1.master";
}
else if (Request.Params[A2] != null)
{
this.MasterPageFile = "~/MasterPages/A2.master";
}
else if (Request.Params[A#] != null)
{
this.MasterPageFile = "~/MasterPages/A3.master";
}
}
Cheers!!
Brij
|
|
|
|
|
hello friends
i am newly person for Asp.net..i want to do the Microsoft Certified Professional in Asp.Net ,C#. if any body having dump plz provide and help me
Thanks
Ramesh.S
|
|
|
|
|
Ram_Bytes wrote: if any body having dump plz provide and help me
what is dump. what are you looking for
The Developer - CEH
|
|
|
|
|
Look Esnips.com
Cheers!!
Brij
|
|
|
|
|
I had a dump this morning.
|
|
|
|
|
hai,
i am using newsletter concept.so i want send mail in particular date.i am using sql server.if you know the answer replay to me...
|
|
|
|
|
Write a console application which
1 - Fetches recipient details from the database
2 - prepare mail body
3 - send mails
4 - exit
Schedule this program using windows scheduler.
|
|
|
|
|
Hai,
currently i m using .net 2005 and sql server 2000.
I had a new project and i need some suggestions from you Code project users.
Here, i need to develop an application which will capture what are all the opened application through means of my project and its usage time.
i.e., in my application i give links to open IE,MS-WORD,NOTEPAD and MS-PAINT. the users may work the IE application some time and keep in idle. then he may use the notepad for sometime. then he will us MS-PAINT for sometime. At day end, i have to capture how much timings user spent in particular application......
i.e.,
MS-PAINT : 5 hours, 10 min.
IE : 3 hours, 5 min.
MS-WORD : 6 hours, 34 min.
NOTEPAD : 2 hours, 33 min.
How to process this and what are all the concepts i have to review. THIS IS AN CHALLENGING PROJECT TO ME... help me Pals! (want to develop in C#(webform or windows application)
Thanks in advance - KARAN
|
|
|
|
|
hello everybody.
I have a little problem.
I have a page, inside a page I have used gridview.Gridview contains , textbox and two level. I have used custom validator for the textbox and a label to display the message if the textbox contain no string.
at the same page i used check box but it is not inside the grid.
I have grouped the validation to checkbox.
at the top of the page there is a dropdownbox. On selectedIndexChanged event the gridview content is changed.
The problem is, I works fine ie it will display the error message if the textbox is blank for the first index of the dropdownbox, but it doesnot work for other index of the dropdownbox.
|
|
|
|