|
I have no idea about what your custom control looks like, so you might consider the AddAttributesToRender method as well. Does stuff get rendered depending on the client browser being used? or It always does this? I'm not sure what you mean by overriding the HtmlTextWriter , but you can override the Render method, uses another writer object internall inside in the control to render the control, and after you manage to remove the style attributes, you can send the result markup to the current writer object passed in as the method parameter.
|
|
|
|
|
thanx for the tip man, but it was my custom table control. I was usign a constructor that rendered those styles if none were input.
regards,
g00fy
|
|
|
|
|
Hi All,
I wanna know if i have to change or to add some code to my project soi it can be viewed correctly on different browsers (IE,firefox,MacOs..).
We Know By Sharing
We Live By Sharing
|
|
|
|
|
Perhaps.
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
|
Hi,
I want to apply style(e.g. class) to an HTML anchor tag in the code-behind asp.net page. How can this be done?
Thanx in advance,
Siddharth P
|
|
|
|
|
Hi,
use this.
if (!this.Page.IsClientScriptBlockRegistered("Style"))
this.Page.RegisterClientScriptBlock("Style", "");
|
|
|
|
|
I am looking for a few references on how to implement some basic client scripting for the treeview. All I really need to do is set the checked state of all client nodes to be the same as that of the highest parent clicked. There is the server side function which won't execute until postback. I would really like this to be on the client side. Thanks for any info.
|
|
|
|
|
I have seen that many forums are created in php or cgi. not many are on asp.net.
So i want to know is there any forum template to design a forum.
or in simple form.
How can i design a forum in asp.net 2.0
thanx.
-- modified at 5:47 Friday 7th July, 2006
|
|
|
|
|
I'm writing some code that will only be accessed by users of windows PC's on an intranet and I would like to be able to get thier windows login ID's to save them having to login twice (once for the system and once again for the web page).
Is it possible to retrive this via an ASP.NET page ?
Thanks.
|
|
|
|
|
|
Hi
I am using a repeater control bound to an objectdatasource. the objectdatasource has a slectmethod that brings back a list of product objects (wine in this case). Everything is hunky dory except when it comes to paging the repeater so that only x amount of priducts are shown.
I am using a tableadapter to get the info from the database into a dataset and then using a method to put that dataset into the list (which is being used by the objectdatasource).
Below is the code that inserts the info into the list. I figure this would be the easiest place to page by just saying that it must be bewtween certain indexes, however a datarow doesn't have an index
<br />
Public Shared Function testing1() As List(Of Wine)<br />
Dim objList As New List(Of Wine)<br />
Dim objTemp As New List(Of Wine)<br />
Dim tbl As Data.DataTable = WinesBLL.Testing()<br />
Dim row As Data.DataRow<br />
For Each row In tbl.Rows<br />
Dim objWine As New Wine(row("WineName"), row("WineryName"), row("WineVintage"))<br />
objList.Add(objWine)<br />
Next<br />
Return objList<br />
End Function<br />
|
|
|
|
|
|
I have tried that but it won't "filter" the datatable. Code suggestion?
|
|
|
|
|
Hi !
I'm getting crazy over this ! I got a menu control from the framework 2.0 which is bound to the web.sitemap file.
When I click on a menuItem, there's a postback and nothing change, I'm still on the home page !!
Looking at my logs, I see I access the page I wanted, and I'm still here at the end of the Page_Load (no redirection during Page_Load), but after this I don't understand who redirect me to the home page...
So I add a single html link to try to access my page and it works fine, I deduce that's not the page that kicks me out... So who does???
Looking at the source, the href of my link and my menuItem are the same...
Thanks in advance
|
|
|
|
|
i am handling an application which is divided into 2 parts.
1> the WEB application i.e asp.net &
2> the Windows application
through windows application i am going to automatically download a file from a site and after downloading the same i have to upload it to the website on the server .i want a solution on uploading the file from a windows application to website on the server.though i have got a solution for downloading but if anyone has some other way also of doing it,sugesstion would be welcomed but my main need would be uploading file from a windows application to the website automatically
Amit More(TATA CMC)
|
|
|
|
|
|
Hi all,
i want to create a workflow engine in asp.net. how can i do it?
i need drag & drop controls , the created flow must be saved in to database.
please help!!!
|
|
|
|
|
|
Hi In my templated column i have a checkbox control within a datalist i just wanted to know how can i display how many checkbox was checked upon button click.
cheers
|
|
|
|
|
you can iterate throug items and check the values and add then in array.
ArrayList arr = new ArrayList();<br />
foreach(DataListItem item in dataList1.Items)<br />
{<br />
CheckBox chk = (CheckBox)item.FindControl("CheckBox",CheckBox);<br />
if(chk != null)<br />
{<br />
if(chk.Checked == true)<br />
arr.Add(chk);<br />
}<br />
}
take the count of arr for total number.
hope this will help
Nav.
|
|
|
|
|
will i be doing this in button on click event or sumwhere else?
|
|
|
|
|
Hello all...
I am having vs.net2005 version it ill support for sqlserver 2000
please clarify my doubt if possible
then please Write step by step :-Ohow to install and use
many thanks advance
dhulipudi :->
hai all please clear my doubt
|
|
|
|
|
Yes, VS 2005 supports SQL Server 2000, I'm using both 2000 and 2005, and it's working just fine. You can check out the MSDN[^] web site for more information.
|
|
|
|
|
Can anybody tell me , i m displaying a vocabulary word , theire usage , also a button to click to hear the word spoken . How can i use text-to-speech in .net
-- modified at 2:06 Friday 7th July, 2006
|
|
|
|