Optional Parameters in VB.Net

Here is the situation. My ASP.Net Application's solution has 3 projects A, B and C. B contains a function (eg : testfunction) which is used by Pages in A and C. Now for a certain requirement for Project C I need to make a change in testfunction. In ...
more »

2017-06-15 20:06 (0) Answers

Default page is not working properly

In my project Index.aspx page is set as a default document. I tried to debug is not firing the button click event on localhost:1992,but it is working perfectly on localhost:1992/Index.aspx. ISSUE : project working in localhost:1992/Index.aspx not w...
more »

2017-06-14 17:06 (2) Answers

How to automatically update XML comments?

I am looking for a way to automatically add / delete XML-formatted comments in VB.net sourcecode. Let me elaborate more on this with a short example: Initial iteration with auto commenting could look like this: ''' <summary>Summary for AnyF...
more »

2017-06-13 11:06 (0) Answers

How to group excel range in excel charts?

I'm using Microsoft.office.interop.excel and generated an excel with data I am currently showing this data in the same excel as chart also like this: But I need this data to be grouped like this: How can I modify my code to achieve this? Curre...
more »

2017-06-10 21:06 (1) Answers

How to use Ribbon Buttons to execute code?

So far I have managed to create a ribbon with several buttons by following this tutorial. Now I want to make the buttons actually do stuff! I found this example which shows how to execute already existing method. However if I do: Command="myCustomCl...
more »

2017-05-30 18:05 (1) Answers

RadComboBox's DataTextField Issue

I have a RadComboBox and I'm binding data from my vb code as below :- RadComboBox.DataTextField = "Value1" RadComboBox.DataValueField = "Value2" RadComboBox.DataSource = BindComboBox("Colors") -------This is my internal funcion where i c...
more »

2017-05-29 09:05 (1) Answers

strange jQuery textbox issue

I cannot for the life of me figure this one out. I have two javascript functions (jQuery) linked to buttons using the vb.net code behind like such: Button_NewProgram.Attributes.Add("OnClick", "return NewProgramEdits();") Button_SaveSchedule.Attribu...
more »

2017-05-26 17:05 (2) Answers

asp net - button with commandname not submit

I'm wondering if it there is a solution to have a asp:Button with CommandName inside a ListView and make it run and execute the CommandName, but without refreshing the page (submit). I have a modal, so I don't like the page refreshing and then showin...
more »

2017-05-21 02:05 (1) Answers

Get single XML Attribute Value

Given the following XML - <Response> <Item name="ItemA" /> </Response> How do I get the value of the name attribute? I have tried several ways with no luck, here was the last try- (Note that writing the contents of 'xml' to th...
more »

2017-05-14 06:05 (2) Answers

Find and replace inside regex result in Excel VB

After much frustration and reading documentation I still can't seem to find the way to run a search for a regex pattern and replace characters inside all the matches in the spreadsheet for that pattern. I have this content in a cell: $test string[0...
more »

2017-04-25 18:04 (1) Answers

Ajax VB Json string

I am having difficulties finding a Visual Basic Json string that will work for this instance. I keep getting an "Error Message Status" of "[ object Object ]". I got this same one to work in C# with "\"" in the Json code but VB is not so easy. Defa...
more »

2017-04-19 21:04 (0) Answers