|
A custom dropdown control I have created inherits from System.Web.UI.WebControls.DropDownList.
While creating it I have overridden:
OnPreRender()
Render()
RenderContents()
PerformSelect()
The problem is when I try to bind the control to a datasource using
SelectedValue='<%# Bind("Field1") %>'
the control does not appear to pick the value saved in 'Field1'. I have run a trace when debugging and realised that the SelectedValue property is not initialised even after binding as above. Where should I start looking?
Thanks.
|
|
|
|
|
im using a details view control as a item template in the datalist..
i have linkbutton in the datalist.eg empid
if i click on tat i have to show the detailsview of tat empid...one empid can contain many records...like contactaddress,permenent address..
how can i do this?
thanks in advance..
|
|
|
|
|
Hi,I use TreeView control in ASP.NET 2.0.
TreeView has a property for showing CheckBox in each node. but i want show RadioButton int each node.
how I can do it?
Thanks
|
|
|
|
|
hi,
in my web application, I'd like to upload an excel sheet and convert this sheet to a table in an Access database. I'd like to have the ability to access in the fields in the excel sheet and create a field in the table that corresponds to a certain field in the excel sheet.
Is there any technique to do that in asp.net??
|
|
|
|
|
|
I'm using c# I can't understand VB code
|
|
|
|
|
is there any article that explains the process of importing the excell file?
|
|
|
|
|
Hi all.
This relates more to ASP.NET than to mobile development, hence the location of post.
I have developed a mobile web page in ASP.NET and it runs fine when running it on its own in VS.NET. I need to run it from a mobile device emulator to see how it looks,etc. I have tried this in the browser of the emulator :"http://localhost:2175/DemoGhostDigest/MobileArticle.aspx" but it says I am not connected. I specify the proxy name and port numbers, yet it still says no connection.
Am I missing something? Please assist.
Thanks.
|
|
|
|
|
Hi,
we are trying to build a web application like HTTP Commander. What we want to do, is to be able to allocate some space on the server for each registered user, and allow them to store files within that space in the users respective directory.
We have finished the entire file operation modules, uploading downloding, deleting, moving, renaming, etc, but we are not able to find out a way to allocate a max size of X MB to a specific folder.
Anybody tried something similar before? Would appreciate a bit of help here.
Thanks
"Some guys hack just to get themselves a girlfriend.What a pathetic reason huh ?"
|
|
|
|
|
Hello Everybody,
I had taken the float but I want that the result should be only upto 2 decimal.
like : 4550.32
but i am unable to do so .
I am working in asp.net 2.0
Regards,
rahul saini
|
|
|
|
|
Dim sResult as String<br />
sResult = FormatNumber(myValue, 2)
myValue being the variable containing original floating point value
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Hello Steve ,
Thanks for rply.
I want to tell you that I am working in c#.
And I could not find FormatNumber.
Should I use any class for this.
Regards,
Rahul
rahul saini
|
|
|
|
|
string.Format("{0:F2}", number); should do the trick, you can also use the {0:F2} inside an Eval statement in your aspx.
|
|
|
|
|
Decimal dNum = "1.12545"<br />
String sResult = dNum.ToString("0.00")
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Hi, I'm looking into web parts for creating a portal site used by support agents.
I'm very impressed with the functionalities but one thing keeps me wondering without finding a solution yet. I kindda hope someone can help me here.
I know that the personalization is done on user-basis. But I want that only a few persons (admin role) can edit the parts, add parts etc... and other (logged in) users see those changes. Just a standard site based on roles and permissions.
I've heard there are two ways for personalization, user based and shared. Anyone has more information about this, maybe links to documentation?
I can't imagine it is not possible at all
Thanks
|
|
|
|
|
Hi developers
I need to develop/integrate a simple Email System for Customer's Account Area. From where Customers can check his Inbox, Drafts, Sent Messages and other common functionalities provided by email system.
Please let me know from where I can get such system?
|
|
|
|
|
Mcrosoft Outlook
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Thanks for reply dude
But I need to integrate eEmail System with existing Customer's Account Area. Furthermore from that system customer is allowed only to send emails to Customerservice@domain.com.
Thanks for your time
|
|
|
|
|
Alhough I have not done this, I believe MS Outlook could still be your answer. I am pretty sure you could amend Outlook so that when sending an email, you can disable the To, CC, and BCC textboxes and insert a default email address. Then you have the full functionality of Outlook.
Alternatively, have a look at ComponentSource.com and buy a POP3/SMTP mail component. The sending emails is simple, but recieving and decoding is somewhat more tricky to the point I decided not to reinvent the wheel.
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
Hi,
I have a dotnet application in which i have to get some files fetched from a directory. After fetching those files i have to Populate an ArrayList with the subdirectory string array. How can i do this in C#.net application. Anybody pls help.
Regards
Vijay.
|
|
|
|
|
Hi,
You can make this by following way.
string[] str = System.IO.Directory.GetDirectories( youdirectorypath );
ArrayList arrlst = new ArrayList( str );
I hope this will help you.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hello frnds,
can any one tell me what should i prefer
JAVASCRIPT or serverside VALIDATION CONTROL (given by .net 2.0)
which is the BEST in performance and good in use,
should i go with JAVASCRIPT ????
i am little bit confused...
plzzz help...
thankx in advance and regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
If the answer is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Always use the client side validation it will save the additional round trip to server in general also is depend on your need.
I hope this will help you
Puneet Srivastava
|
|
|
|
|
If you are talking about the Validation control available with .NET 2.0 framework. Then,
Server Side Validation Control also uses the same JavaScript only for validation.
Additionally you have better properties as well as less time consuming...
I prefer Server Side Validation Controls.
|
|
|
|
|
Hello Everyone,
I want to disable the "save as" option of "File" menu so that nobody can save my running web-application/website or in other words i don't let anybody to copy my contents from my site or web-application........
Is there any way to come out of this problem
Thnx in Advance
|
|
|
|