|
I work on a functionality that browses the Contacts in a Outlook account on an Exchange Server. There no problem to find the fields to retrieve in the Exchange schemas for the name, email, ... and there is a Category field, in Outlook, that allows you to sort the contacts. I'd like to use this to order my result query, but I didn't find the field schema. Does anyone know how access to this field and if this information is stored in Exchange ??
Thanks for any help you could provide.
|
|
|
|
|
how can i refresh all client page when i update my web page on the server
dead
|
|
|
|
|
You can't.
There is no way that you can send a response from the server to the client without the client first sending a request. If you need the pages to update, you have to poll for changes from the client.
One way is to simply reaload the page at a certain interval. Example that reloads the page every ten seconds:
If you don't want to reload the page that way, you could use AJAX to ask the server if there are any changes, and reload when there are.
---
b { font-weight: normal; }
|
|
|
|
|
i need a project online jewellery shop in asp 2.0 if possible than give me reply please i need to submmit in my college thats why
Arjunjadeja
|
|
|
|
|
ArjunJadeja wrote: i need a project online jewellery shop in asp 2.0 if possible than give me reply please i need to submmit in my college thats why
You might consider this as a learning exercise and make an attempt at doing it yourself. If you have problems with your attempt then please come back and ask specific questions.
|
|
|
|
|
I currently using asp.net with vb.net, I have used control TextBox to send memo on my website, when user type some text and they want to break line as codeproject forum for new message, I don't know to replace it.
Please help me.
................
|
|
|
|
|
Replace the line breaks when you display the text:
daControl.InnerHtml = Server.HtmlEncode(daText).Replace(Environment.NewLine, "<br/>");
---
b { font-weight: normal; }
|
|
|
|
|
How do i access the dropdownlist inside the GridView from the Page_Load event
I have the Grid View like this
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns ="False">
I created a template field column inside this gridview and inserted a dropdownlist in it using
<asp:TemplateField HeaderText="Select">
<ItemTemplate> <asp:DropDownList ID="DDList1" runat="server"></asp:DropDownList>
</ItemTemplate>
<HeaderTemplate>
Select
</HeaderTemplate>
</asp:TemplateField>
I would like to access this dropdownlist and assign the listitems during the pageload event programmatically. How do i do it
|
|
|
|
|
I am not sure but i have seen that you have access that gridview cell first and then use Fincotrol method
like
Gridview1.Rows[0].cells[0].findControl("DropDownList1")
etc.
sorry if it doesn't help you.
-- modified at 6:49 Monday 4th September, 2006
Naveed Kamboh
|
|
|
|
|
Hi everybody,
I was given a job of developing a function which accepts 3 parameters i.e., an assembly path, a class with namespace, and a method in that assembly. the function should return the value that is being returned by the method that iam invoking(the one which we passed as a parameter)
iam using system.reflection namespace.
The problem is, i also need to pass arguements to the method that iam invoking but it is just not working the i way i want. this is how iam calling my function ..
public int myreflect("..the path of the assembly..", "...calss name with namespace..say N.C1..","..method name..say M1..", 2,4) // 2,4 are the arguments iam passing to my method M1//
This is how iam defining my function
public int myreflect(string a, string b, string c, params int[] list)
Everything is working except that i need to somehow extract the arguements which are in the param array i.e., list.
I need to capture those arguments and store them in another array..say int[] args..and use this args in Invokemember function, as parameters to invoke my M1 method. I hope I have done a fair job in explaining my problem. A little help would be greatly appreciated. Thanks in advance....
Sonu
|
|
|
|
|
You could copy all the elements in the array:
int[] args = new int[list.Length];
Array.Copy(list, args, list.Length);
Or you could just copy the reference to the array:
int[] args = list;
Or why not just use the list array?
---
b { font-weight: normal; }
|
|
|
|
|
Thanx for the reply Guffa!!
i tried using list directly, but its not working..
anyways i will try the other two ways you suggested...
thanks once again....
Sonu
|
|
|
|
|
If one array doesn't work, neither will the other.
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
hii alll i want to know that how can we insert any asp.net control in an asp.net datagrid and do there operations. for example , i hv taken a datagrid in page and showing all data from database in that.now i also want to modify that data by modifying in that datagrid . plz send me the code which can do this type of
event in datagrid.
thanking u : tanmaya nanda
Tanmaya Nanda
|
|
|
|
|
Hello, I've a question about URL Authorization and may be you can help me. I've a site with some users that could create folders in a site and upload files to that folders, and this user could create other users with lower rights (only see some folders that the user who create it could define). For example:
UserA -> create folderA, folderB and folderC
UserA -> create UserB -> with rigths on folderB
UserA -> create UserC -> with rigths on folderC
So for example UserB could not access to folderA and folderC.
I'm using winform authenticaton. This users are dynamic created. I want to create this folder and files authorization. I thought in URL Authorization using <location> in the web.config, but I don't know if I could do that throw programming.
Any ideas of how to resolve this issue?
Thanks a lot !!!
|
|
|
|
|
Sir,
I want to invoke a alert message box by writing the code into the code behind file in addition to this ,any string should be passed i mean when i call the fuction i can pass any string into the function.Now i am declaring a java script function in head tag
function(var str)
{
alert(str)
}
Can u help ? how to call the function written in the java script by writing the code in the code behind file.
Thanks
|
|
|
|
|
Use the RegisterStartupScript method to add Javascript to the page from code behind.
In framework 1.x Page.RegisterStartupScript, in framework 2.x Page.ClientScript.RegisterStartupSript.
---
b { font-weight: normal; }
|
|
|
|
|
u can call any javascript function from ur code behind i.e vb.net or c# using
Page.RegisterStartupScript("clientScript", ScriptText) method
even u can write ur javascript code for alert using Page.RegisterStartupScript()
like
Page.RegisterStartupScript("clientScript", "function('abc');")
or
Page.RegisterStartupScript("clientScript", "var str; str = 'abc'; alert(str);")
hope it'd help u
Regards,
Rashida
http://www.akaas.net[^]
|
|
|
|
|
i have a camera that takes an image 10 per second
how can i show this images sequantialy to make a vedio representation
from this image collection .
and how can i update this image for all person hwo see my site.
can i ;
thank you
dead
|
|
|
|
|
hello
plz any body can tell me that how can i measure the bandwidth of high downloads
usage in my asp.net application.
thanx
|
|
|
|
|
hello
any body can tell me how can i integrate the PHP Modules
into Asp.Net.
thanx
|
|
|
|
|
How to change the active logging format of IIS log files.
If right now system time is 4pm then while writing Log files it is writing time as 11am.
How to overcome this problem ?
Abhi
|
|
|
|
|
Control Panel > Administrative Tools > Internet Information Services
from there select you website and right click on it select properties and from "Web Site" tab you can change the format of IIS log files for ur web site and u can as well change properties of logging
hope it'd help
Regards,
|
|
|
|
|
I want to set my XAML application output as per screen resolution.How to do that?
|
|
|
|
|
hi! i have created 6 input file server control using java script at client side using following script: ...
function generateRow()
{
var d=document.getElementById('div');
d.innerHTML+="<table><br>";
for(i=0;i<6;++i)
{
d.innerHTML+="<tr><td><input type='File' id='File" + i + "' runat=server /></tr></td><br>";
}
d.innerHTML+="</table>";
}
but now how i find IDs of these file server controls for manupulation on the server whent form is submited?
samir
|
|
|
|