|
Ha ha may be he is trying for alternatives
|
|
|
|
|
Dont mind but I think before going through the source code I should know what I am doing and why!!!
I already metioned it candidly that I dont have any idea about wiki so first I want to know what I will have to develop..
I am sorry if anything annoy u..
|
|
|
|
|
Sounds like you should read a book on ASP.NET in general, then go from there.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Thnx for suggestion vl definately do that...
|
|
|
|
|
Hi,
I am designing one Custom Control by inherting Components
and for changing icon i am use following code
[System.Drawing.ToolboxBitmap("icon.ico")]
And I am getting Tool Box icon changed but while dragging the control in from default circle icon coming !!!
Any idea !!!!
Thanks in Advance !!!!
If you have any doubt pleasse check this one
Custom Control[^]
And I am Realy Sorry For Post it in Asp.Net Forum , it should be in C#, Just a mistake
|
|
|
|
|
hi...
In my .aspx file i have a div tag. i am calling javascript function programatically ie.
Response.Write("hide();");
at page load event 'coz i want to hide it initially and show the div tag when needed.
For hide() i wrote
function hide()
{ document.getElementById('pstage').style.display='none';}
i am unable to find my error.
it often happens that javascript does not work.
pls let me know where is the problem and how to rectify it.
SunithaNallana
|
|
|
|
|
If u have this div tag under a form which has attribute runat="server". On page load even you can directly write
formName.FindControl("divTagId").visible = false;
Make sure again that div tag with id = divTagId has an attribute runat="server" else it will give you an error.
|
|
|
|
|
hi..
Prateek G wrote: If u have this div tag under a form which has attribute runat="server".
u r right but i donot want the div tag to be a server side control,i want it to function as client side control
|
|
|
|
|
Create a div with visible attribute as false.
And when you want to make it visible use the code.
document.getElementById('divTagId').removeAttribute('visible');
since by default visible will be true it will be visible In case again based on any condition if you need to make it invisible use this code
document.getElementById('divTagId).visible= "false";
|
|
|
|
|
can we store date time in millisecond formate(2007/11/13 02:20:36:265) in ms access
Piyush Vardhan Singh
|
|
|
|
|
Hi!
How do I deploy .NET applications that references Interop.Excel.dll or
Interop.Outlook.dll onto computers other than the one on witch the project
was built? I've made serveral attempts on packaging the assemblies using
Visual Studio Setup Projects. However, the MS Office automation operations of
my .NET apps simply will not run on other computers than the workstation I use
for developing them. After installing on others computers, on which Excel/Outlook
of course have been installed, all I get is System.InvalidCastException or
System.Runtime.InteropServices.COMException. Am I missing any vital components?
Am I including assemblies that shouldn't be part of the setup?
Any advice on this issue would be highly appreciated.
|
|
|
|
|
Could you please ask this in C# forum or somewhere??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Hi,
I am about to build several websites which will look different but all hold the same type of content in the same core page structure. The content for all sites will be held in 1 db and the relevant content pulled by each site.
Ideally I would like to build the pages once and then use them in each site with a different asp.net theme applied.
I've searched about and found some information which is close to this but nothing explaining this exact scenario. Is there any documentation I've missed on this or any best practice guidelins available for this problem?
Any advice will be appreciated.
William
|
|
|
|
|
Jan Feb .... Dic
John 10 5 7
Greg 9 6 9
Mary 10 4 8
I need select the value from Greg in Feb with a click in my datagrid,
and i´d like to display the value in text box,how can i do it?
|
|
|
|
|
|
it's because of string array. if you are binding the datagrid with String Array, you can't specify the DataField in bounded column... (I'm looking the solution for that).. so, you should change this string array to DataRow or you can use AutoGenerateColumns = true if you still prefer to use string array.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
oh. there is some problems in CP. I can't reply to this thread..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I check it but i didnt get the result.if the autogenerate column will be enabled true then in the grid header Item Text will be displayed.so i ask to u the solution if autogenerate column is false
|
|
|
|
|
Hi every one!
my application is in ASP.NET/C# 2005. I want to call a web user control from C# code and display it on a specific location on page. is it possible? also is it possible to set values in controls of user control from the page where it is called?
Actually i want to display a table having different controls, X number of times depending on count of files in a folder and also set their values dynamically. should i use user control for this? if yes then how? and if no then what else could be used?
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Of course. Your user control is a member variable of the code behind class - do what you want with it. You'd have to use CSS to position it precisely on the page.
Christian Graus - Microsoft MVP - C++
"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 for reply...
My user control contains link buttons and labels, i want to pass the text and URL to link buttons/labels dynamically. is it possible? and how? i googled but could not find any help.
Thanks in advance...
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
I recommend you buy a basic book on object oriented programming in whatever language you're using, and read it.
As I said, your control is a member of your class, you can access it's methods and properties from there. Don't make your controls public tho, just expose the properties you want to set, such as the text.
Christian Graus - Microsoft MVP - C++
"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 for reply,
i got your point, this part of problem is solved. but one problem is stil there...how can i call user control using C# code? as i mentioned earlier that i want to decide at runtime that how many time user control must be displayed, so how can i do it?
only method i know is to add it in page using HTML code like:
"<uc1:Cube ID=UserControl1 runat=server />"
can i do it on page load within a loop, using C# code?
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Hi i try to bind the records based on the Id format...,
But i am getting error as "object reference not set to an instance of object"
Here i am binding the datatable to arraylist:(Here i am not getting any probs)
For Each dr As DataRow In dt.Rows
If Not _Text.Contains(dr("Name").ToString) Then
_Text.Add(dr("Name").ToString)
End If
Next
ts = CType(Me.FindControl("TabStrip1"), JQD.TabStrip)
Now based on this arraylist field I am trying to bind other fields in hash table in this format:(Here getting probs it not binding proper format)
It's binding still continious Name Id's,
If any Id will Miss match its show that error...,
Dim _SubTabText As Hashtable = New Hashtable
_Text = New ArrayList
For Each tabtextobj As Object In ts.TabText
Dim tabtext As String = tabtextobj.ToString()
Dim drs() As DataRow = dt.Select("Name='" + tabtext + "'")
Dim _SubText As ArrayList = New ArrayList
For Each dr As DataRow In drs
_SubText.Add(dr("Link")).ToString()
Next
_SubTabText.Add(drs(0)("Id") - 1, _SubText)
Next
ts.SubTabTextCol = _SubTabText
Plz Help me to solve this,
Regards,
Mageshh
|
|
|
|
|
I guess problem is there in following piece of code -
For Each dr As DataRow In drs
_SubText.Add(dr("Link")).ToString()
Next
_SubTabText.Add(drs(0)("Id") - 1, _SubText)
Next
ts.SubTabTextCol = _SubTabText
Why you are using drs(0)("Id") I guses u shud use dr("Id").
Try it I guess it will work, if doesnt then add if condition here too '''If Not _Text.Contains(dr("Name").ToString) Then'''
|
|
|
|