|
Hi,I have grid inside edititemtemplate ,Have placed the dropdownlist with static content.I want to hide some list items based on the previous value which is in hidden field.
Thanks
Chakradhar.
|
|
|
|
|
Sir;
why don't you rebind it?
Help people,so poeple can help you.
|
|
|
|
|
I think you would rebind.
|
|
|
|
|
Hi
I want create chat for automation website, so client not send any request to server for respond, instead server send respond to client when received a message from other client.
Thank you.
mkmk
|
|
|
|
|
Sir; why don't you use a web service for refreshing the display?
Help people,so poeple can help you.
|
|
|
|
|
Create a class
Imports System.Timers
Imports System.IO
Namespace clsatuosender
Public Class atuosender
Dim timer As System.Timers.Timer
Dim filepath As String
Public Sub New(ByVal st As String)
Dim timer As New System.Timers.Timer(8640000)
filepath = st
AddHandler timer.Elapsed, AddressOf timer_Elapsed
timer.Enabled = True
End Sub
Private Sub timer_Elapsed(sender As Object, e As ElapsedEventArgs)
File.AppendAllText(filepath + "\TextFile1.txt", "Heloo")
''''Do Something
End Sub
End Class
End Namespace
add global.asax
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim ats As New clsatuosender.atuosender(Server.MapPath("files").ToString())
' Fires when the application is started
End Sub
|
|
|
|
|
how to use array in asp.net textbox
ex :
<asp:textbox id="nr1">
<asp:textbox id="nr2">
<asp:textbox id="nr3">
<asp:button id="save">
when I press the save button the value of text which i fill will be write on response.write??
how ????
|
|
|
|
|
Hi,
You can create Indexer with one property of returnType as TextBox. you also need to create one method to get and to set textBox with it's data.
-Amit
|
|
|
|
|
look:
cs code page:
page_load
{
response.white(this.textbox1.text);
}
|
|
|
|
|
<asp:button id="save" onclick="save_click">
public void save_click()
{
response.write(nr1.Text);
response.write(nr2.Text);
response.write(nr3.Text);
}
|
|
|
|
|
Response.Write(txt1.text+txt2.text+txt3.text);
|
|
|
|
|
Hello guys,
There is a problem that I added a few AspxGauges to my project. I set the customize Gauge control and save them out as XML. The page load is below:
<pre lang="c#">
protected void Page_Load(object sender, EventArgs e)
{
this.gauges_yil.RestoreLayoutFromXml(MapPath("~/aspx/gauges_yil.xml"));
this.gauges_m2.RestoreLayoutFromXml(MapPath("~/aspx/gauges_m2.xml"));
this.gauges_kasa.RestoreLayoutFromXml(MapPath("~/aspx/gauges_kasa.xml"));
this.ASPxGaugeControl4.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl4.xml"));
this.ASPxGaugeControl5.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl5.xml"));
this.ASPxGaugeControl6.RestoreLayoutFromXml(MapPath("~/aspx/ASPxGaugeControl6.xml"));
}
However, I got this error after I sent it to the server:
Server Error in '/' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: Request failed.]
DevExpress.XtraGauges.Core.Resources.PointF2DConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) +0
System.Web.Compilation.CodeDomUtility.GenerateExpressionForValue(PropertyInfo propertyInfo, Object value, Type valueType) +587
System.Web.UI.SimplePropertyEntry.GetCodeStatement(BaseTemplateCodeDomTreeGenerator generator, CodeExpression ctrlRefExpr) +136
|
|
|
|
|
|
I have a requirement to implement user privilege elevation in an MVC3 web app, for both Forms and Windows authentication. This is for a higher privileged user to give assistance to a lower privileged user, e.g. when the lower user is performing a task and requires an admin task to be completed before they continue, the admin user should be able to elevate the same session to their privilege level, perform the admin task, and restore the lower privilege to the session.
Is this even possible, and if so, how can I achieve this? I have no idea where to even begin looking.
This is a duplication of my question asked here on StackOverflow[^]
|
|
|
|
|
Hi Sir,
Im a Software Developer currently working in NCPL.. Here i've a problem regarding Editing of templates at different positions..
We have a ASP.net software where in we sent emails to clients on various occasions. For those events we select templates and edit the data or image in it and send it to our clients.. The problem over here is that i've took a radeditor component and tried to insert a template in it. But unable to edit it at different positions programmatically
.. So i request you to kindly clear my issue as soon as possible..
|
|
|
|
|
Hi....
Can u explain u r problem clearly please. Are u looking for identifying the positons on a image or you want to split the image into multiple parts?
|
|
|
|
|
Hi Sasidhar,
Thanks for replying to my mail. The main idea is there is a fixed template with text,images,headings etc. User selects this template(text/image in the template) and Edits the text as his wish depending on his requirement. For this editing he uses a editor(HTML editor/RAD editor). This editors will have design and html tabs. Wherein Design will consist of original template and html consists of dynamically genrated html code. So if a user edits image automatically html code changes. Atlast when his reqt satisfied he sends the template to his client via Email.
This is the process of the module
Regards
Raghavendra Rao
|
|
|
|
|
I have a C#. net 2010 web form application that I am going to maintenance and add linq to sql statements in the existing application. This application communicates with a sql server 2008 r2 professional edition database.
My problem is acutally wanting to know who to debug (step through) the code. I can get the general idea of what the code does. Howeever, I would like to know how to step through the code. Can you give me some help in this area?
|
|
|
|
|
Highlight the first line of code where you want to start debugging and press the F9 key. Press F5 to start the application and it will come to a stop on the line with the breakpoint set. Press F10 to go to the next line or F11 to debug into a method. You can hiver over varibles ot see the current value, add a watch to a variable so that yu can see the value changing or right click and quick watch to see all of the properties of a variable or whatver at that moment in time. That is a small part of what you can do - you shoul dtry reading up on the subject before starting.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
how to make a project in notepad through .net
|
|
|
|
|
This question is not at all clear, please try explaining in more detail.
|
|
|
|
|
You mean something like this[^]?
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
do you mean you want to create your project without Visual Studio ?
|
|
|
|
|
I have to host a website on LAN using IIS, I want that all LAN users would be able to access only home page of my website, after sign in or register they will be allowed to navigate to other pages.
How can I do this?
My website is developed in classic asp..
|
|
|
|
|
Zubair_Shah wrote: My website is developed in classic asp..
By default, IIS has few defined startup pages like default.asp, index.asp, etc. Either make your login page by any of these name or add the login page as the start up page in IIS for your website. In IIS, see in 'Documents' or 'Default Document' tab for it.
|
|
|
|