|
<asp:boundcolumn datafield="Cand_Id" headertext="Candidate Id">
I am using this in html part can u tell me exactly where to change i tried with the Property builder but didn't got any option to change the width so in HTML part i need to change
Thanks and Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
hello ,
In the html that asp:datagrid .... will be there know... there see <columns> will be there in that go to template field and in that will be there decalre <asp: textbox="" ....=""> u will get the header column ok .Try like that u will get surely.
ok byeee
Murali
|
|
|
|
|
Thanks Murli for the help
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
hello prakash,
<columns>
<asp:templatecolumn>
<headertemplate>
<asp:label id="lblCategoryId" text="Category Id" runat="server">
Do like this it will work
byee
murali
|
|
|
|
|
first of all check that is there some outer table width which strict the data grid to one width.
If there is no reason then you can do this by applying a css class on it.
Grid view header is rendered as
Header You can set width as
<asp:templatefield headertext="ID" controlstyle-width="100">
God Bless you.
Always do good to others
|
|
|
|
|
RightClick on Datagrid -> Choose Property Builder -> Goto Format Tab -> Choose Columns -> Enter Width
|
|
|
|
|
Thanks a lot
Prakash Mishra(Banglore,India)
|
|
|
|
|
One problem friend
I tried the way you told but its length remains constant. I tryied with cm . px options but not working pl help
Prakash Mishra(Banglore,India)
|
|
|
|
|
I unchecked the property wrap text with in the cell and got the result
Thanks for your help
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
hello all
how to resize repeater column,these columns are in a seperate table to resize these column on run time please help
thaks
|
|
|
|
|
you can either set the width of column or map the column with the css class..
|
|
|
|
|
Hi,
I am using the collapsible panel which is in this link:http://www.codeproject.com/aspnet/collapsiblepanel.asp[^]
On the right side of that collapsible panel I am adding one image for providing the Help support. I am successfully able to add the image on the right side of panel by creating another tableCell and putting the Image in that cell and adding that new table cell to Panel Header row. But Can any one specify the code How to create the events when clicking on the help image I need to transfer to another aspx page or open the PDF file.
How to create the events.
Thanks in advance
|
|
|
|
|
You may put the image that you created within A tag. Or attach onclick event on tableCell.
Hope it works.
|
|
|
|
|
Hi,
Putting the image on tag means what? I didn't get it. Can you provide me any links to do that?
Thanks in advance
|
|
|
|
|
Dear All,
I am using asp.net2.0
I am trying to display years in dropdownlist control from 1980 to till date. Only confusion is how can It would show from 1980 to till now that is if years becomes 2008. it would display 2008.
Please guide me in doing so or give me some useful link.
Thanks
imaran khan
|
|
|
|
|
it very simple try to populate the years in the database and code accordinglr so that the year 2008 will be populated in the drop downlist as soon as the year 2007 completes.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
for ( int i=1980;i<=DateTime.Now.Year;i++)
{
}
|
|
|
|
|
thank Navaneeth.
imaran khan
|
|
|
|
|
Dim iyear As Integer = 1
For iyear = 1980 To 2008
Dpdobyear.Items.Add(Str(iyear))
Next
This may help u add this code in the page load and add the code to the dropdown.
Good luck
Prakash Mishra(Banglore,India)
|
|
|
|
|
I have a config file that has over 100,000 lines. It has to do with URL rewriting, and the naming scheme of the files were such a way that they could not be rewritten using a regular expression, so I had to generate cases for each one. The initial load of the website takes 5 seconds (sometimes longer, sometimes less) as it is being cached, and then after that everything is fine. I was wondering if there was some way to either keep this config file cached all the time, or if a script could somehow load it in to cache periodically so users do not experience this initial load lag.
Thanks!
Jon
|
|
|
|
|
|
The only reason is because I'm using the URL rewriter from www.urlrewriter.net and they don't have an option to check a database. I had to get the url redirect and rewrite up and running quickly and using urlrewriter made this possible and easy.
|
|
|
|
|
Psytherium wrote: they don't have an option to check a database
Why not?
Psytherium wrote: had to get the url redirect and rewrite up and running quickly and using urlrewriter made this possible and easy
While sacrificing efficiency.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Because they did not code it in to their program. I suppose I'll have to go in and add the feature (Assuming it is the best option) since it's open source.
|
|
|
|
|
I was thinking along the lines of maintainability for the future, as well
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|