|
Hi jai,
set column width and wrap property to true.
pallavi
|
|
|
|
|
You can use <itemstyle width="100px">
Best Regard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi
I already give answer of this question in dotnet spider forum.
i think you posted same question here again? If u have any query
then tell me.
Regards.
Rahul
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
hi
in my one from i have both Iframe and Grid view.from hyperlink of gridview i have open different forms in Iframe in same Page.but problem is :- i want to disable gridview after click on perticular hyperlink.how's this possible
Jintal Patel
|
|
|
|
|
I've build a prototype custom grid using rows of TextBox controls, but it's quite slow. Now if I use a DataGridView, with all my columns as textbox columns, I imagine all the cells are textboxes as well, and
that grid has huge amounts more functionality than mine. So, I believe I can greatly improve the speed of my grid, still using the textbox approach, but I haven't a clue how. Some advice would be great.
A question that keeps cropping up in my thoughts is, do I continue delegating the drawing of borders to the individual textboxes, or do I draw the grid independently, and place borderless textboxes in the cells.
Is there even much of a difference?
|
|
|
|
|
I have a menu with an "About" item in it .
I want that when the user clicks the "About" item , the version info of the web application gets displayed in a new window .
I know Window.Open() performs what i want to do in Javascript , but how do i do it from sever side when i am declaring the menu item.
Also i cant use JavaScript function calling Window.Open() as menu item has no attributes property
|
|
|
|
|
Hi all
I am using the smtp mail server to send the email(newsletter).
but i have to send email to 1 lakh subscriber at one click. when i am trying to send after 45 minute a fault occur and the page can't dislay is apprearing.
Please help.
Thanks in adance.
Sri...
|
|
|
|
|
srinandan.. wrote: 45 minute a fault occur and the page can't dislay is apprearing.
Scripts like ASP.NET are not intended for long processing jobs. So sending 1 lakh mail using this is not at all recommended. Use some mass mailer programs, or use a threaded windows application for this.
|
|
|
|
|
Hi All,
I have to find a control through Javascript which I have generate dynamically through codebehind.
For ex:
DropDownList ddlCombo = new DropDownList();
ddlCombo.ID = "Combo1";
ddlCombo.CssClass = "text";
ddlCombo.Width = 250;
I need to find the ddlCombo Control in Javascript with it selected index.
How do I do this?? Thanks in advance...
|
|
|
|
|
In which container you added ddlCombo control ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks for the reply. I am adding the control in tab container again tab is generated dynamically. It works fine with I run on my machine but it doesnt work on other machine since the ID is different. Please tell me how do I do this...
Thanks again...
|
|
|
|
|
Hi,
you need to find that control on any event or what ?
you can use 2 ways :
1. In code behind itself u can add attribute to control
e.g you can use button click event
btnAdd.Attributes["onclick"] = "javascript:DisableControl('"+ddlCombo.ClientID+"');";
and in javascript
if(document.getElementById(ddvalue).getAttribute("selectedIndex")
or u can directly pass selected index ito javascript
2. in your javascript document.getElementById('Combo1').getAttribute ("selectedIndex") will give u control's index but i m not sure.
pallavi
|
|
|
|
|
Hi Pallavi,
Thanks for the reply but I have done this and it wroks fine. But when I upload my project on server the ID is different and therefore my javascript function doesnt work. Thats is why I need to use .ClientID.
All the controls on my form are generate dynamically. Please help me...
Thanks again...
|
|
|
|
|
After adding this DropDownlist to the content i think you can get its client id
Check it
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hey Sandeep, thanks the reply. I am doing something like this :
var Country = $find('<%=ddlCountry.ClientID%>');
but it says
The name 'ddlCountry' does not exist in the current context
Since the control in not available in .acsx as I have created it in code behind.
I hope I am doing right???
|
|
|
|
|
Might be ddlCounty is not accessible there as it must be local variable in any method can you post the code related to drop down list ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Thanks again. Here is the code:
I am adding this DropDownList to tab Container:
DropDownList ddlCountry = new DropDownList();
ddlCountry.ID = "ddlCountry";
ddlCountry.CssClass = "text";
ddlCountry.Width = 250;
tab1.Controls.Add(ddlCountry);
how do I get this ID in Javascript??
|
|
|
|
|
Check the id of DDL after adding to tab
like
tab1.Controls.Add(ddlCountry);
ddlCounty.Clientid;
that will give you client id
Now it depends on your code how are you adding this tab to the main content page
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Another way instead of using ASP dropdown list you can use HtmlSelect
Its id will changed runtime
you can give data source and datamember to it
HtmlSelect ddl = new HtmlSelect();
ddl.Items.Add(new ListItem("Sandeep","Sandeep"));
ddl.ID="Sandeep";
PlaceHolder1.Controls.Add(this.Button1);
PlaceHolder1.Controls.Add(ddl);
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi to all,
I have one query. In my sql auery in am selecting data from two
tables for that purpose i have used join query.I have used follwoing
query.
select distinct blog_new.blgid,blog_new.blogtitle,blog_new.createddate from blog_new,blog_post where blog_new.blgid=blog_post.blgid and blog_new.status=1 order by blog_post.editeddate desc
My question is that if there is 3 same blogtitle but they have different id
then what is the output of that query. Is the query return me three row or
only one row.
Thanks.
Rahul.
People Laugh on me Because i am Different
but i Laugh on them Because they all are same.
|
|
|
|
|
hi Rahul,
you are using distinct blgid and join on blgid so even though thr are 3 same blogtitle but if they have diffrent id it will return 3 records
pallavi
|
|
|
|
|
Hi Pallavi,
If they have same blogtitle and same id then it will return only one
row. Is it correct?
Thanks.
Rahul.
People Laugh on me Because them
i am Different but i Laugh on Because they all are same.
|
|
|
|
|
Hi Rahul,
if you have same ids how will u get 3 records ..its one record na ..
see in join, u join in which field is matter a lot .. so if u are joining on blogid it must be unique...and so it will have uique ids no matter title same or diffrent.
if u have any query plz ask
pallavi
|
|
|
|
|
Thanks Pallavi,
Regards
Rahul.
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Hi Pallavi,
When i run this query in query analyzer it shows me three row with
same id.My query is as follow.
select distinct blog_new.blgid,blog_new.blogtitle,blog_new.createddate,blog_post.editeddate from blog_new,blog_post where blog_new.blgid=blog_post.blgid and blog_new.status=1 order by blog_post.editeddate desc
can u tell me why?
People Laugh on me Because i am
Different but i Laugh on them
Because they all are same.
|
|
|
|